From 77a311754e0c8e5bbf701324417e8d80172bb93e Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 11 Sep 2019 13:47:47 +0200 Subject: backup-progress: quote parameter --- backup-progress.in | 4 ++-- 1 file 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 -- cgit v1.2.3-70-g09d2