summaryrefslogtreecommitdiff
path: root/scripts/vyatta-monitor-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-monitor-cleanup')
-rw-r--r--scripts/vyatta-monitor-cleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-monitor-cleanup b/scripts/vyatta-monitor-cleanup
index 89eea93..cd08cbc 100644
--- a/scripts/vyatta-monitor-cleanup
+++ b/scripts/vyatta-monitor-cleanup
@@ -23,7 +23,7 @@ for pidfile in "${MPIDS[@]}"; do
rm -rf $pidfile
fi
fi
- elsif [[ "$MODE" == "LOGOUT" ]]; then
+ elif [[ "$MODE" == "LOGOUT" ]]; then
# on logout kill all monitors
kill $pid
rm -rf $pidfile