From a26355111ee400d8bb49e565803900db864f1bf0 Mon Sep 17 00:00:00 2001 From: "Yan, Zheng" Date: Tue, 21 Apr 2015 11:30:12 +0800 Subject: [PATCH] task/samba: ignore return code of fuser/losf if mount point is not used by anyone, both fuser and losf return 1 Fixes: #10624 Signed-off-by: Yan, Zheng (cherry picked from commit c049387b7b0832e78a4a1370691798f726985799) --- tasks/samba.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasks/samba.py b/tasks/samba.py index c8768f4bbce09..8272e8b9539c4 100644 --- a/tasks/samba.py +++ b/tasks/samba.py @@ -229,6 +229,7 @@ def task(ctx, config): 'lsof', backend, ], + check_status=False ) remote.run( args=[ @@ -237,6 +238,7 @@ def task(ctx, config): '-M', backend, ], + check_status=False ) except Exception: log.exception("Saw exception") -- 2.39.5