summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-09-11 13:47:47 +0200
committerErich Eckner <git@eckner.net>2019-09-11 13:47:47 +0200
commit77a311754e0c8e5bbf701324417e8d80172bb93e (patch)
treea83cb9237f5d55b27f709765bddc294fcabd91e0
parent9408e3e88a3f0e2f50c6dbb1aa0c02cd22ac9401 (diff)
downloadhardlinkedBackups-77a311754e0c8e5bbf701324417e8d80172bb93e.tar.xz
backup-progress: quote parameter
-rwxr-xr-xbackup-progress.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/backup-progress.in b/backup-progress.in
index 4e67f92..4b6e911 100755
--- a/backup-progress.in
+++ b/backup-progress.in
@@ -26,14 +26,14 @@ for backupID in "${!backups[@]}"; do
| tail -n1
)
last_size=$(
- timeout ${du_timeout} du -sb "${dir}/${last}" \
+ timeout "${du_timeout}" du -sb "${dir}/${last}" \
| awk '{print $1}'
)
if [ -z "${last_size}" ]; then
last_size='4096'
fi
current_size=$(
- timeout ${du_timeout} du -sb "${dir}/aktuell" \
+ timeout "${du_timeout}" du -sb "${dir}/aktuell" \
| awk '{print $1}'
)
if [ -z "${current_size}" ]; then