diff --git a/src/freedombone-syncthing b/src/freedombone-syncthing index 5cb301ff..a647f4aa 100755 --- a/src/freedombone-syncthing +++ b/src/freedombone-syncthing @@ -245,7 +245,12 @@ function user_devices_changed { CHANGED=1 return fi - + + if ! grep -q "${PROJECT_NAME}" $SYNCTHING_CONFIG_FILE; then + CHANGED=1 + return + fi + for d in /home/*/ ; do USERNAME=$(echo "$d" | awk -F '/' '{print $3}') if [[ $USERNAME != "git" && $USERNAME != "mirrors" && $USERNAME != "sync" ]]; then