From da3df637a566001805532b57c534e6fc1c7aacf4 Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 8 Nov 2020 23:34:09 +0100 Subject: Fix unmount-usb work for Debian. --- stuff/scripts/unmount-usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stuff/scripts/unmount-usb') diff --git a/stuff/scripts/unmount-usb b/stuff/scripts/unmount-usb index dfcb078..c90dde4 100755 --- a/stuff/scripts/unmount-usb +++ b/stuff/scripts/unmount-usb @@ -1,5 +1,5 @@ #!/bin/bash -options=$(lsblk | grep /run/media/$USER | rev | cut -d ' ' -f 1 | rev) +options=$(lsblk | grep /media/$USER | rev | cut -d ' ' -f 1 | rev) [ -n "$options" ] && opt_num=$(echo "$options" | wc -l) || opt_num=0 if [ $opt_num == 0 ]; then notify-send "Nothing mounted!" -- cgit v1.2.3