mute rm err on ro fs
parent
b489ee9622
commit
389c34e7e4
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue