From 2d36d7b4c8befb77ad90319a371857294370b1d8 Mon Sep 17 00:00:00 2001 From: Milind Changire Date: Sat, 13 Apr 2019 10:49:01 +0530 Subject: [PATCH] cephfs-shell: fix lcd command Signed-off-by: Milind Changire --- src/tools/cephfs/cephfs-shell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tools/cephfs/cephfs-shell b/src/tools/cephfs/cephfs-shell index dbce650dddd..3c48e190765 100755 --- a/src/tools/cephfs/cephfs-shell +++ b/src/tools/cephfs/cephfs-shell @@ -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): """ -- 2.39.5