From 2be7e65c7b15775993eeb3198b8c2404b5b489dd Mon Sep 17 00:00:00 2001 From: Keine_Ahnung Date: Mon, 4 Feb 2013 14:49:14 +0100 Subject: small fixes --- script/vdr-uactivity | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'script/vdr-uactivity') 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}" -- cgit v1.2.3