summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorSimon Rettberg2021-10-05 11:32:08 +0200
committerSimon Rettberg2021-10-05 11:32:08 +0200
commit207263d53a2c9ab9fe6e394ca0163eee3552984e (patch)
treef5ec9df709f2223007a5a6e5d505a929f66d4dc4 /src/util
parentMerge branch 'master' into openslx (diff)
parent[readline] Extend maximum read line length to 1024 characters (diff)
downloadipxe-207263d53a2c9ab9fe6e394ca0163eee3552984e.tar.gz
ipxe-207263d53a2c9ab9fe6e394ca0163eee3552984e.tar.xz
ipxe-207263d53a2c9ab9fe6e394ca0163eee3552984e.zip
Merge branch 'master' into openslx
Diffstat (limited to 'src/util')
-rwxr-xr-xsrc/util/genfsimg2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/genfsimg b/src/util/genfsimg
index 1635a11ac..c13158203 100755
--- a/src/util/genfsimg
+++ b/src/util/genfsimg
@@ -255,7 +255,7 @@ fi
# Create FAT filesystem image, if applicable
#
if [ -n "${FATIMG}" ] ; then
- FATSIZE=$(du -s -k ${FATDIR} | cut -f1)
+ FATSIZE=$(du -s -k "${FATDIR}" | cut -f1)
FATSIZE=$(( FATSIZE + PAD + 256 ))
touch "${FATIMG}"
if [ "${FATSIZE}" -le "1440" ] ; then