slitaz-tools rev 982
tazbox video: nothing to play case
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 09:29:11 2016 +0200 (2016-05-26) |
parents | 0b2140279749 |
children | ff99998cc377 |
files | tazbox/tazbox |
line diff
1.1 --- a/tazbox/tazbox Wed May 25 17:27:31 2016 +0200 1.2 +++ b/tazbox/tazbox Thu May 26 09:29:11 2016 +0200 1.3 @@ -625,6 +625,7 @@ 1.4 [ "$1" ] && file="$PWD/$(basename "$1")" 1.5 [ -s "$file" ] || file="$(yad --file --width='500' --height='400' \ 1.6 --window-icon $icon --title "$(_ "Select the video file")" --center)" 1.7 + [ -s "$file" ] || return 1.8 1.9 # Extra parameters 1.10 text=