Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / scripts / mono-service.in
index 45f401d68fc0bc38e184670ad1d472005d1ffd71..f86087ec9c8c3e7425181222610fd173474c18fd 100644 (file)
@@ -37,5 +37,5 @@ export MONO_DISABLE_SHM=1
 if $debug; then
    exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/mono-service.exe $args
 else
-   exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/mono-service.exe $args </dev/null 2> /dev/null 1> /dev/null &
+   exec @bindir@/@mono_interp@ $MONO_OPTIONS @mono_instdir@/@framework_version@/mono-service.exe $args </dev/null >/dev/null 2>&1 &
 fi