diff options
author | Richard Nelson <unixabg@gmail.com> | 2015-04-17 14:58:28 -0500 |
---|---|---|
committer | Richard Nelson <unixabg@gmail.com> | 2015-04-17 14:58:28 -0500 |
commit | b883aabc6a9a7735fadc613fcac8e7e2146850cf (patch) | |
tree | 8ad0b0cb8f67e17b2f8411b788e2918bc2bc7885 /frontend | |
parent | b8cc61dfd74f4236aaf59b461be0f861c08124b8 (diff) | |
download | vyos-live-build-b883aabc6a9a7735fadc613fcac8e7e2146850cf.tar.gz vyos-live-build-b883aabc6a9a7735fadc613fcac8e7e2146850cf.zip |
On status output of running builds only count directories for l-b-cgi frontend.
Diffstat (limited to 'frontend')
-rwxr-xr-x | frontend/cgi/live-build-status-cgi | 2 |
1 files changed, 1 insertions, 1 deletions
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}" |