Fix syntax, remove superfluous if
This commit is contained in:
parent
23e54c67a7
commit
5f7414c008
@ -5346,7 +5346,7 @@ case "$event" in
|
|||||||
;;
|
;;
|
||||||
'device_removed')
|
'device_removed')
|
||||||
removed_symlinks=($(find "$videodir" -xtype l -delete -print))
|
removed_symlinks=($(find "$videodir" -xtype l -delete -print))
|
||||||
if [ -z "$device_node" ] && exit
|
[ -z "$device_node" ] && exit
|
||||||
logger -t "device removed" "remove unneeded symlinks: $(paste -d " " <<< "${removed_symlinks[@]}")"
|
logger -t "device removed" "remove unneeded symlinks: $(paste -d " " <<< "${removed_symlinks[@]}")"
|
||||||
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
||||||
svdrpsend updr
|
svdrpsend updr
|
||||||
|
@ -30,7 +30,7 @@ case "$event" in
|
|||||||
;;
|
;;
|
||||||
'device_removed')
|
'device_removed')
|
||||||
removed_symlinks=($(find "$videodir" -xtype l -delete -print))
|
removed_symlinks=($(find "$videodir" -xtype l -delete -print))
|
||||||
if [ -z "$device_node" ] && exit
|
[ -z "$device_node" ] && exit
|
||||||
logger -t "device removed" "remove unneeded symlinks: $(paste -d " " <<< "${removed_symlinks[@]}")"
|
logger -t "device removed" "remove unneeded symlinks: $(paste -d " " <<< "${removed_symlinks[@]}")"
|
||||||
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
||||||
svdrpsend updr
|
svdrpsend updr
|
||||||
|
Loading…
Reference in New Issue
Block a user