diff options
Diffstat (limited to 'start-mux-mod.sh')
-rwxr-xr-x | start-mux-mod.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/start-mux-mod.sh b/start-mux-mod.sh index c7f2489..96e05c2 100755 --- a/start-mux-mod.sh +++ b/start-mux-mod.sh @@ -2,7 +2,7 @@ # # Launch the multiplexer and the modulator -if [[ -e site/multiplex.mux && -e site/mod.ini && site/mail-warning.txt ]] +if [[ -e site/multiplex.mux && -e site/mod.ini && -e site/mail-warning.txt ]] then while true @@ -14,7 +14,7 @@ then if [[ "$MAILTO" != "" ]] ; then NOW=$(date) - mail -s "MUX and MOD restart" $MAILTO << EOF + mail -s "MUX and MOD restart" "$MAILTO" << EOF The mux and mod were restarted at $NOW |