diff options
author | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-01-13 09:23:28 +0100 |
---|---|---|
committer | Matthias Braendli <matthias.braendli@u-blox.com> | 2015-01-13 09:23:28 +0100 |
commit | 3d3382cadcd032d1e58c95ee82262f91424ad98b (patch) | |
tree | 348dcca34791571a99fdf8a7984ed70e4a0a9871 /start-mux-mod.sh | |
parent | 3f2143ac7ad93e0d0283cd733af1f1061e2867aa (diff) | |
download | dab-scripts-3d3382cadcd032d1e58c95ee82262f91424ad98b.tar.gz dab-scripts-3d3382cadcd032d1e58c95ee82262f91424ad98b.tar.bz2 dab-scripts-3d3382cadcd032d1e58c95ee82262f91424ad98b.zip |
Fix shell script bugs
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 |