1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Remove broken check

This commit is contained in:
Moritz Grimm 2015-06-08 23:52:14 +02:00
parent 02edf4f385
commit ccaa2fddc3

View File

@ -90,13 +90,6 @@ if [ -z "${_track_no}" ]; then
_track_no=1
fi
# Count number of tracks in the playlist:
_num_tracks="$(wc -l < ${_playlist})"
if [ ${_num_tracks} -eq 0 ]; then
# Nothing to do, really.
exit 0
fi
# Handle the end-of-playlist case:
if [ ${_track_no} -gt ${_num_tracks} ]; then
if [ ${REPEAT} -ne 1 ]; then