aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-11-20 21:23:25 +0100
committerMattias Andrée <maandree@kth.se>2023-11-20 21:23:30 +0100
commit118e6569f2bc743a273a586860714780227b99d9 (patch)
tree1744a33634f9a72e29d85c8cd57c8db43110a4eb
parentMove .secrets/bin to .private/pkgs/* (diff)
downloaddotfiles-118e6569f2bc743a273a586860714780227b99d9.tar.gz
dotfiles-118e6569f2bc743a273a586860714780227b99d9.tar.bz2
dotfiles-118e6569f2bc743a273a586860714780227b99d9.tar.xz
Fix losetup usage error in {signal,element,wire}-desktop/umount-*
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rwxr-xr-xelement-desktop/umount-element2
-rwxr-xr-xsignal-desktop/umount-signal2
-rwxr-xr-xwire-desktop/umount-wire2
3 files changed, 3 insertions, 3 deletions
diff --git a/element-desktop/umount-element b/element-desktop/umount-element
index eb9fbdd..44d425b 100755
--- a/element-desktop/umount-element
+++ b/element-desktop/umount-element
@@ -12,6 +12,6 @@ asroot env \
cryptsetup close ElementCrypt
fi
if test -n "${ELEMENT_DEV}"; then
- losetup -d -- "${ELEMENT_DEV}"
+ losetup -d "${ELEMENT_DEV}"
fi
'
diff --git a/signal-desktop/umount-signal b/signal-desktop/umount-signal
index 03e4a85..06a4eef 100755
--- a/signal-desktop/umount-signal
+++ b/signal-desktop/umount-signal
@@ -12,6 +12,6 @@ asroot env \
cryptsetup close SignalCrypt
fi
if test -n "${SIGNAL_DEV}"; then
- losetup -d -- "${SIGNAL_DEV}"
+ losetup -d "${SIGNAL_DEV}"
fi
'
diff --git a/wire-desktop/umount-wire b/wire-desktop/umount-wire
index 0301326..796ea05 100755
--- a/wire-desktop/umount-wire
+++ b/wire-desktop/umount-wire
@@ -12,6 +12,6 @@ asroot env \
cryptsetup close WireCrypt
fi
if test -n "${WIRE_DEV}"; then
- losetup -d -- "${WIRE_DEV}"
+ losetup -d "${WIRE_DEV}"
fi
'