X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=9bd6e9b6f62b3628d68648350c657c021d56d9b6;hb=HEAD;hp=fc096579f95dd8620782ff4e7dfcf7ecb4d84506;hpb=38387a0fbfcc731fbd5785d4c035c5121a4c9281;p=distro-setup diff --git a/btrbk-run b/btrbk-run index fc09657..0cdc625 100644 --- a/btrbk-run +++ b/btrbk-run @@ -194,8 +194,8 @@ dry_run=false # mostly for testing rate_limit=no verbose=true; verbose_arg="-l trace" force=false -if [[ $INVOCATION_ID ]]; then - # INVOCATION_ID means running as a systemd service. we cant show progress in this case, +if [[ $PPID == 1 ]]; then + # running as a service. we cant show progress in this case, # but if we pass the arg, it will insert mbuffer into the command. progress_arg= else