diff --git a/partvis b/partvis index 083c41b..0400d5a 100755 --- a/partvis +++ b/partvis @@ -18,7 +18,7 @@ sectors_to_size() { printf "%.4g%s\n" "${SIZE}" "${TAG}B" } -[ $EUID -gt 0 ] && "Must run as superuser." && exit 1 +[ $EUID -gt 0 ] && echo "Must run as superuser." && exit 1 for DEVICE in $(fdisk -l | grep '^Disk /' | grep -v '/dev/ram' | cut -d\ -f2 | cut -d: -f1); do