summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2013-01-23 23:02:29 +0100
committerDaniel Baumann <daniel@debian.org>2013-01-23 23:02:29 +0100
commit19ee123659d0df348287019a15cef64bac2af295 (patch)
tree34d37da21b926ca5a53cb2edd2eadd8a0775a905 /scripts
parentd93a276735f3db6cc4eee0633e5facfb5f60d4f1 (diff)
downloadlive-boot-19ee123659d0df348287019a15cef64bac2af295.tar.gz
live-boot-19ee123659d0df348287019a15cef64bac2af295.zip
Calling df with -P to avoid line wraps with overly long mountpoints.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot/9990-misc-helpers.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-misc-helpers.sh b/scripts/boot/9990-misc-helpers.sh
index 71ba7e1..807d787 100755
--- a/scripts/boot/9990-misc-helpers.sh
+++ b/scripts/boot/9990-misc-helpers.sh
@@ -600,7 +600,7 @@ fs_size ()
size=$(expr ${size} + ${size} / 20 ) # FIXME: 5% more to be sure
else
# free space
- size="$(df -k | grep -s ${mountp} | awk '{print $4}')"
+ size="$(df -kP | grep -s ${mountp} | awk '{print $4}')"
fi
if [ -n "${doumount}" ]