]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
cephfs-shell: fix lcd command
authorMilind Changire <mchangir@redhat.com>
Sat, 13 Apr 2019 05:19:01 +0000 (10:49 +0530)
committerMilind Changire <mchangir@redhat.com>
Sat, 13 Apr 2019 06:48:38 +0000 (12:18 +0530)
Signed-off-by: Milind Changire <mchangir@redhat.com>
src/tools/cephfs/cephfs-shell

index dbce650ddddc164ff6facb1b1bd33e81ec2adea0..3c48e190765cb26147a45fea13e9db2183303e65 100755 (executable)
@@ -931,6 +931,8 @@ sub-directories, files')
         if os.path.isdir(path):
             os.chdir(path)
             # self.poutput(get_all_possible_paths(args.path))
+        else:
+            self.poutput("%s: no such directory" % path)
 
     def complete_lls(self, text, line, begidx, endidx):
         """