From 764bac8d97bdac4610f216347f75afa79abd26c7 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 31 Dec 2023 12:49:01 +0100 Subject: up --- .local/bin/hddumnt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.local/bin/hddumnt') diff --git a/.local/bin/hddumnt b/.local/bin/hddumnt index 75c6570..9a5319b 100755 --- a/.local/bin/hddumnt +++ b/.local/bin/hddumnt @@ -6,13 +6,13 @@ mountpoint="$HOME/$devname" case "$(hostname -s)" in mother|po-rbo) if ! doas umount "$mountpoint"; then - notify-send -u critical 'exthdd' " failed to dismount $mountpoint" + notify-send -u critical 'exthdd' " failed to dismount $mountpoint" fi if ! doas cryptsetup close "$devname"; then - notify-send -u critical 'exthdd' " failed to close crypt dev $devname" + notify-send -u critical 'exthdd' " failed to close crypt dev $devname" fi rmdir "$mountpoint" - notify-send -t 5000 'exthdd' " crypt dev dismounted from $mountpoint" + notify-send -t 5000 'exthdd' " crypt dev dismounted from $mountpoint" ;; mars) if ! mount | grep -F /dev/da0p1; then -- cgit v1.2.3