ssy: fix getting stuck
This commit is contained in:
parent
0b96e7967c
commit
9c1f64b488
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ with import <nixpkgs> {};
|
||||||
pkgs.writeShellScriptBin "ssy" ''
|
pkgs.writeShellScriptBin "ssy" ''
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
startsync > /dev/null 2>&1 & disown
|
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
|
while ! ls ~/sync/Passwords.kdbx > /dev/null 2>&1 ; do sleep 0.1 ; done
|
||||||
''
|
''
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue