bash: fix find_sync() to return 0 when constantly synced