From 389c34e7e4d15b82737fb936bdf9eb3d527acda6 Mon Sep 17 00:00:00 2001 From: TomasM Date: Thu, 2 Nov 2017 16:48:08 -0400 Subject: [PATCH] mute rm err on ro fs --- tools/slax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/slax b/tools/slax index fe18c73..0468081 100755 --- a/tools/slax +++ b/tools/slax @@ -159,7 +159,7 @@ deactivate() # remove the .sb file, but keep it if deactivate was issued on full sb real path if [ "$(realpath "$1")" != "$(realpath "$LOOPFILE")" ]; then - rm -f "$LOOPFILE" + rm -f "$LOOPFILE" 2>/dev/null fi echo "Slax Bundle deactivated: $SB"