summaryrefslogtreecommitdiffstats
path: root/app/startstop-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-08-28 20:30:28 +0000
committerTed Trask <ttrask01@yahoo.com>2008-08-28 20:30:28 +0000
commit48cbac3ff8468cae92e2fa31280a84bd2ae2bc7c (patch)
tree7df684c5d9ea82569819f44ff2999c316a5fa357 /app/startstop-html.lsp
parent7f0a76f92b77f6c5fc666978d7fc5fbb02a1911b (diff)
downloadacf-core-48cbac3ff8468cae92e2fa31280a84bd2ae2bc7c.tar.bz2
acf-core-48cbac3ff8468cae92e2fa31280a84bd2ae2bc7c.tar.xz
Modified startstop to return string rather than boolean.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1436 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/startstop-html.lsp')
-rw-r--r--app/startstop-html.lsp4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/startstop-html.lsp b/app/startstop-html.lsp
index 56404f9..acacec0 100644
--- a/app/startstop-html.lsp
+++ b/app/startstop-html.lsp
@@ -14,8 +14,8 @@
<% if data.value.result then %>
<DT>Previous action result</DT>
<DD>
-<% if data.value.result.descr then %>
-<P CLASS='descr'><%= string.gsub(data.value.result.descr, "\n", "<BR>") %></P>
+<% if data.value.result.value ~= "" then %>
+<P CLASS='descr'><%= string.gsub(data.value.result.value, "\n", "<BR>") %></P>
<% end if data.value.result.errtxt then %>
<P CLASS='error'><%= string.gsub(data.value.result.errtxt, "\n", "<BR>") %></P>
<% end end %>