X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1873e72540b9114ba752417f0e16763c2432bc2b..19d577d35f5802e1f12e03676202fde0e9902df3:/bin/syncthing diff --git a/bin/syncthing b/bin/syncthing index 10615e1..dbebcfa 100755 --- a/bin/syncthing +++ b/bin/syncthing @@ -1,3 +1,3 @@ #!/bin/sh umask 007 -/usr/local/bin/syncthing -logfile="$HOME/var/log/syncthing.log" +$(which -a syncthing | grep -v "$HOME" | head -1) -logfile="$HOME/var/log/syncthing.log"