X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/52c8e29162113d47f1130118c937dcc0516b9483..1135f26ad047fcb3131329656790f1dce8661e76:/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"