generic/498: don't call _cleanup_flakey repeatedly

Since exit always traps into _cleanup function which contains
_cleanup_flakey, don't need _cleanup_flakey twice.

Signed-off-by: Lu Fengqi <lufq.fnst@cn.fujitsu.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Lu Fengqi
2018-09-04 14:26:50 +08:00
committed by Eryu Guan
parent 264e5358e2
commit 047562e1dc
-1
View File
@@ -58,7 +58,6 @@ _flakey_drop_and_remount
[ -f $SCRATCH_MNT/B/foo ] || echo "file B/foo is missing"
_unmount_flakey
_cleanup_flakey
echo "Silence is golden"
status=0