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