]> gitweb.fluxo.info Git - utils-tor.git/commitdiff
Process cli params at syncthing-tor
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Jul 2018 22:33:38 +0000 (19:33 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 11 Jul 2018 22:33:38 +0000 (19:33 -0300)
syncthing-tor

index 04a5f9280ca9aab1551c7f7de366d1c60b67914f..b6e98ee0601f3a4501964c3a32148b831b7d8d3d 100755 (executable)
@@ -6,7 +6,7 @@
 # See https://docs.syncthing.net/users/proxying.html
 if which syncthing 2> /dev/null; then
   export all_proxy=socks5://127.0.0.1:9050
-  syncthing
+  syncthing "$@"
 else
   echo "error: syncthing not installed"
   exit 1