diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2014-06-18 20:33:06 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-04-16 13:51:18 -0400 |
commit | 6638878c5eb6d5116580d06cc3042a5e9beacb7e (patch) | |
tree | 92476d6e2ec6fada6b6e3bedb1cfcffcc7988065 /cron-jobs/update-web-db | |
parent | 7850874b1ef1b18de585be108e3be899d95a3a2a (diff) |
Use printf-formatters instead of string interpolation on msg, error, etc.
Diffstat (limited to 'cron-jobs/update-web-db')
-rwxr-xr-x | cron-jobs/update-web-db | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cron-jobs/update-web-db b/cron-jobs/update-web-db index 1a725dc..88bf464 100755 --- a/cron-jobs/update-web-db +++ b/cron-jobs/update-web-db @@ -16,7 +16,7 @@ LOGOUT="/tmp/archweb_update.log" # figure out what operation to perform cmd="${0##*/}" if [[ $cmd != "update-web-db" && $cmd != "update-web-files-db" ]]; then - die "Invalid command name '$cmd' specified!" + die "Invalid command name '%s' specified!" "$cmd" fi script_lock |