X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1873e72540b9114ba752417f0e16763c2432bc2b..4be2bcd2e2f69ffa226d75f6e06ca2280a164cee:/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"