summaryrefslogtreecommitdiff
path: root/spind
diff options
context:
space:
mode:
Diffstat (limited to 'spind')
-rwxr-xr-xspind4
1 files changed, 2 insertions, 2 deletions
diff --git a/spind b/spind
index 1d3e089..eefb674 100755
--- a/spind
+++ b/spind
@@ -1,8 +1,8 @@
#!/bin/bash
-# Copyright 2004 <plasmaroo@gentoo.org>
+# Copyright 1999-2004 Gentoo Foundation
# NO WARRANTY; licensed under the GNU GPL2
-CDSIZE=$(($(df | grep cdrom | head -n 1 | awk '{print $2}') - 256))
+CDSIZE=$(($(df -P | grep cdrom | head -n 1 | awk '{print $2}') - 256))
[ -z "${CDSIZE}" ] && echo '>>> Unknown CD size...' && exit 1
echo ">>> CD size: $(($CDSIZE + 256)) K"