Fix syntax, remove superfluous if
This commit is contained in:
parent
23e54c67a7
commit
5f7414c008
@ -5346,7 +5346,7 @@ case "$event" in
|
||||
;;
|
||||
'device_removed')
|
||||
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[@]}")"
|
||||
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
||||
svdrpsend updr
|
||||
|
@ -30,7 +30,7 @@ case "$event" in
|
||||
;;
|
||||
'device_removed')
|
||||
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[@]}")"
|
||||
vdr-dbus-send /Skin skin.QueueMessage string:"$device_node removed"
|
||||
svdrpsend updr
|
||||
|
Loading…
Reference in New Issue
Block a user