summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
576967a)
The if-condition was always evaluated to be true.
Signed-off-by: Nick Hainke <vincent@systemli.org>
- if [ $SAVE_LOGS ]; then
+ if [ $SAVE_LOGS -eq 1 ]; then
log "Saving Logs!"
write_logs
fi
log "Saving Logs!"
write_logs
fi
- if [ $USE_WATCHDOG ]; then
+ if [ $USE_WATCHDOG -eq 1 ]; then
echo 1 >&3
fi
}
not_active() {
echo 1 >&3
fi
}
not_active() {
- if [ $USE_WATCHDOG ]; then
+ if [ $USE_WATCHDOG -eq 1 ]; then
-if [ $USE_WATCHDOG ]; then
+if [ $USE_WATCHDOG -eq 1 ]; then