diff options
| author | Daniel Baumann <daniel@debian.org> | 2013-01-23 23:02:29 +0100 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2013-01-23 23:02:29 +0100 |
| commit | 19ee123659d0df348287019a15cef64bac2af295 (patch) | |
| tree | 34d37da21b926ca5a53cb2edd2eadd8a0775a905 /scripts | |
| parent | d93a276735f3db6cc4eee0633e5facfb5f60d4f1 (diff) | |
| download | live-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-x | scripts/boot/9990-misc-helpers.sh | 2 |
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}" ] |
