mute rm err on ro fs
This commit is contained in:
+1
-1
@@ -159,7 +159,7 @@ deactivate()
|
|||||||
|
|
||||||
# remove the .sb file, but keep it if deactivate was issued on full sb real path
|
# remove the .sb file, but keep it if deactivate was issued on full sb real path
|
||||||
if [ "$(realpath "$1")" != "$(realpath "$LOOPFILE")" ]; then
|
if [ "$(realpath "$1")" != "$(realpath "$LOOPFILE")" ]; then
|
||||||
rm -f "$LOOPFILE"
|
rm -f "$LOOPFILE" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Slax Bundle deactivated: $SB"
|
echo "Slax Bundle deactivated: $SB"
|
||||||
|
|||||||
Reference in New Issue
Block a user