Since exit always traps into _cleanup function which contains _cleanup_flakey, don't need _cleanup_flakey twice. Signed-off-by: Lu Fengqi <lufq.fnst@xxxxxxxxxxxxxx> --- tests/generic/498 | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/generic/498 b/tests/generic/498 index 1cf73bda3b60..71f5091c30af 100755 --- a/tests/generic/498 +++ b/tests/generic/498 @@ -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 -- 2.18.0