diff options
author | Mateja <mail@matejamaric.com> | 2020-11-08 23:34:09 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-08 23:34:09 +0100 |
commit | da3df637a566001805532b57c534e6fc1c7aacf4 (patch) | |
tree | 54ec9dd98511f056b99b53b4081a62bd6df218a5 /stuff | |
parent | c5f36f518f23fde74b90f8e67a87abe53acca1f2 (diff) | |
download | dotfiles-da3df637a566001805532b57c534e6fc1c7aacf4.tar.gz dotfiles-da3df637a566001805532b57c534e6fc1c7aacf4.zip |
Fix unmount-usb work for Debian.
Diffstat (limited to 'stuff')
-rwxr-xr-x | stuff/scripts/unmount-usb | 2 |
1 files changed, 1 insertions, 1 deletions
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!" |