diff options
author | Erich Eckner <git@eckner.net> | 2019-09-11 13:47:47 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-09-11 13:47:47 +0200 |
commit | 77a311754e0c8e5bbf701324417e8d80172bb93e (patch) | |
tree | a83cb9237f5d55b27f709765bddc294fcabd91e0 /backup-progress.in | |
parent | 9408e3e88a3f0e2f50c6dbb1aa0c02cd22ac9401 (diff) | |
download | hardlinkedBackups-77a311754e0c8e5bbf701324417e8d80172bb93e.tar.xz |
backup-progress: quote parameter
Diffstat (limited to 'backup-progress.in')
-rwxr-xr-x | backup-progress.in | 4 |
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 |