From 720ecabbe8592b34617c9bc983894bcb32954340 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Mon, 4 Nov 2024 00:29:00 +0100 Subject: [PATCH] ssy: wait until actually mounted --- ssy.script.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ssy.script.nix b/ssy.script.nix index cd7295e..bc6b658 100644 --- a/ssy.script.nix +++ b/ssy.script.nix @@ -3,6 +3,6 @@ with import {}; pkgs.writeShellScriptBin "ssy" '' #!/bin/sh startsync 2>&1 > /dev/null & disown - ls ~/sync 2>&1 > /dev/null + while ! ls ~/sync/Passwords.kdbx 2>&1 > /dev/null ; do sleep 0.1 ; done ''