From ccaa2fddc3bded9a131a3f0ef6c2e8c4b64ce587 Mon Sep 17 00:00:00 2001 From: Moritz Grimm Date: Mon, 8 Jun 2015 23:52:14 +0200 Subject: [PATCH] Remove broken check --- examples/playlist-logger.sh | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/playlist-logger.sh b/examples/playlist-logger.sh index 39c93f3..bfe5f52 100755 --- a/examples/playlist-logger.sh +++ b/examples/playlist-logger.sh @@ -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