mute rm err on ro fs

This commit is contained in:
TomasM
2017-11-02 16:48:08 -04:00
parent b489ee9622
commit 389c34e7e4
+1 -1
View File
@@ -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"