diff --git a/frontend/cgi/live-build-status-cgi b/frontend/cgi/live-build-status-cgi index 8af58572a..560eb4f40 100755 --- a/frontend/cgi/live-build-status-cgi +++ b/frontend/cgi/live-build-status-cgi @@ -71,7 +71,7 @@ else _QUEUENUM=$(ls "${_TEMPDIR}"/*.build | wc -l) # Getting number of builds processing. - _PNUM=$(ls "${_TEMPDIR}"/*/ | wc -l) + _PNUM=$(ls -d "${_TEMPDIR}"/*/ | wc -l) # Find the build if exists and populate status html else respond no build. #echo "${QUERY_STRING}"