X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=3e610de01b7f9fe7fc1632b1c99e2172a5ced95c;hb=390af9a88d32306b789a0e8858d375bf8ca054b0;hp=48550db1a4b2793418501cbfa32a1b234d538994;hpb=343a048be4b32d18540c6531048d2b9a006774ae;p=distro-setup diff --git a/btrbk-run b/btrbk-run index 48550db..3e610de 100644 --- a/btrbk-run +++ b/btrbk-run @@ -44,7 +44,7 @@ rsync-dirs() { pre="${0##*/}: " m() { if $verbose; then printf "$pre%s\n" "$*"; fi; "$@"; } -e() { printf "$pre%s\n" "$*"; "$@"; } +e() { printf "$pre%s\n" "$*"; } die() { printf "$pre%s\n" "$*" >&2; exit 1; } # latest $MAIL_HOST @@ -125,7 +125,7 @@ if [[ -v targets && $source ]]; then fi if $verbose; then - e "options: conf_only=%s\ndry_run=%s\nrate_limit=%s\nverbose=%s\ncmd_arg=%s" "$conf_only" "$dry_run" "$rate_limit" "$verbose" "$cmd_arg" + printf "options: conf_only=%s\ndry_run=%s\nrate_limit=%s\nverbose=%s\ncmd_arg=%s" "$conf_only" "$dry_run" "$rate_limit" "$verbose" "$cmd_arg" fi ### end options parsing