X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=btrbk-run;h=755e5cc25cc329e38ffb02e752bbce5706610f8c;hb=e8d684282c4b3cdd62859217f02711df5947a5c1;hp=cce2abeae6364e10e194a1788a196049ff4d708e;hpb=9a1c9e1c16555a4158cfd4044a615d89ab877abc;p=distro-setup diff --git a/btrbk-run b/btrbk-run index cce2abe..755e5cc 100644 --- a/btrbk-run +++ b/btrbk-run @@ -368,6 +368,7 @@ echo "mountpoints: ${mountpoints[*]}" ##### end command line parsing ######## +# todo: this has a timing problem, since btrbk.timer could activate the service after this check. if ! $fast && [[ $source ]]; then if [[ $(ssh $source ps --no-headers -o comm 1) == systemd ]]; then status=$(ssh $source systemctl is-active btrbk.service) || : # normally returns 3