X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=0cdc6256294d97a6fe6e4228f216975b961785dc;hb=55b37c2dbe292fa1023c0c5376c2104fbe568011;hp=fc096579f95dd8620782ff4e7dfcf7ecb4d84506;hpb=3342374657bd712f14cd772378b23d2bca3382cb;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