diff options
Diffstat (limited to 'signal-desktop')
-rw-r--r-- | signal-desktop/bash-aliases | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/signal-desktop/bash-aliases b/signal-desktop/bash-aliases index 0404b2c..a2669ab 100644 --- a/signal-desktop/bash-aliases +++ b/signal-desktop/bash-aliases @@ -14,6 +14,7 @@ umount-signal () { asroot env XDG_RUNTIME_DIR="${XDG_RUNTIME_DIR}" SIGNAL_DIR=~/.var/opt/signal sh -c ' umount "${SIGNAL_DIR}/SignalCrypt.d" cryptsetup close SignalCrypt - losetup --detach "$(cat -- "${XDG_RUNTIME_DIR}/SignalCrypt")" + losetup -d "$(cat -- "${XDG_RUNTIME_DIR}/SignalCrypt")" + rm -f -- "${XDG_RUNTIME_DIR}/SignalCrypt" ' } |