aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xstuff/scripts/unmount-usb2
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!"