From 9c1f64b488ef92b2123038a33e7e1139fb178fdc Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 4 Nov 2024 00:38:30 +0100 Subject: [PATCH] ssy: fix getting stuck --- ssy.script.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssy.script.nix b/ssy.script.nix index 19fbda4..0161539 100644 --- a/ssy.script.nix +++ b/ssy.script.nix @@ -3,7 +3,7 @@ with import {}; pkgs.writeShellScriptBin "ssy" '' #!/bin/sh startsync > /dev/null 2>&1 & disown - while ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done + sleep 0.7 while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done ''