Browse Source

It's cleaner with exec

fbt 9 years ago
parent
commit
ddbac10928
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/sh/run-cjdroute.sh

+ 1 - 1
contrib/sh/run-cjdroute.sh

@@ -12,7 +12,7 @@ main() {
 	[ "$1" = '-h' -o "$1" = '--help' ] && { usage; return 0; }
 
 	cjdroute_config=${1:-"/etc/cjdroute.conf"}
-	cjdroute < $cjdroute_config
+	exec cjdroute < $cjdroute_config
 }
 
 # DO SOMETHING