summaryrefslogtreecommitdiff
path: root/script/vdr-uactivity
diff options
context:
space:
mode:
authorKeine_Ahnung <dirk-vdr@gmx.de>2013-02-04 14:49:14 +0100
committerKeine_Ahnung <dirk-vdr@gmx.de>2013-02-04 14:49:14 +0100
commit2be7e65c7b15775993eeb3198b8c2404b5b489dd (patch)
tree81d2c7e6539980609b4614914f7e7201eb22125f /script/vdr-uactivity
parent055dd9f501c01f49350f3288fdf1ef6af8dc7a10 (diff)
downloadvdr-plugin-uactivity-2be7e65c7b15775993eeb3198b8c2404b5b489dd.tar.gz
vdr-plugin-uactivity-2be7e65c7b15775993eeb3198b8c2404b5b489dd.tar.bz2
small fixes
Diffstat (limited to 'script/vdr-uactivity')
-rw-r--r--script/vdr-uactivity8
1 files changed, 5 insertions, 3 deletions
diff --git a/script/vdr-uactivity b/script/vdr-uactivity
index 647ca76..c758939 100644
--- a/script/vdr-uactivity
+++ b/script/vdr-uactivity
@@ -38,9 +38,11 @@ case "${PARAM_REASON}" in
commandline="${PARAM_ORGIN} ${PARAM_VALUE}"
;;
key)
- [ "${PARAM_VALUE}" != "_Setup" ] \
- && commandline="${PARAM_ORGIN} ${PARAM_VALUE}" \
- || commandline="${PARAM_ORGIN} ''"
+ if [ "${PARAM_VALUE}" != "_Setup" ]; then
+ commandline="${PARAM_ORGIN} ${PARAM_VALUE}"
+ else
+ commandline="${PARAM_ORGIN} ''"
+ fi
;;
watchdog)
commandline="${PARAM_ORGIN} ${PARAM_VALUE}"