minor improvements
[distro-setup] / btrbk-run
index cce2abeae6364e10e194a1788a196049ff4d708e..755e5cc25cc329e38ffb02e752bbce5706610f8c 100644 (file)
--- 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