X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/1873e72540b9114ba752417f0e16763c2432bc2b..d23b28eb8f84884ce5d1e2acde0b9774166b8ce6:/bin/syncthing?ds=sidebyside 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"