diff options
Diffstat (limited to 'script/vdr-uactivity')
-rw-r--r-- | script/vdr-uactivity | 8 |
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}" |