summaryrefslogtreecommitdiff
path: root/frontend
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2015-04-17 14:58:28 -0500
committerRichard Nelson <unixabg@gmail.com>2015-04-17 14:58:28 -0500
commitb883aabc6a9a7735fadc613fcac8e7e2146850cf (patch)
tree8ad0b0cb8f67e17b2f8411b788e2918bc2bc7885 /frontend
parentb8cc61dfd74f4236aaf59b461be0f861c08124b8 (diff)
downloadvyos-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-xfrontend/cgi/live-build-status-cgi2
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}"