aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2018-10-24 20:37:50 +0000
committerB Stack <bgstack15@gmail.com>2018-10-24 20:37:50 +0000
commitea544456a5da0109090335027a73f8fe290bcfab (patch)
tree925ba2cd6875a86fad49fd338ede53b75aa60d62
parentMerge branch 'dev' into 'master' (diff)
parentfix debuglevoutput to actually send to stderr (diff)
downloadlaps-ea544456a5da0109090335027a73f8fe290bcfab.tar.gz
laps-ea544456a5da0109090335027a73f8fe290bcfab.tar.bz2
laps-ea544456a5da0109090335027a73f8fe290bcfab.zip
Merge branch 'dev' into 'master'
fix debuglevoutput to actually send to stderr See merge request bgstack15/laps!2
-rwxr-xr-xsrc/usr/share/laps/laps.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/share/laps/laps.sh b/src/usr/share/laps/laps.sh
index b3f9b98..f5fa48d 100755
--- a/src/usr/share/laps/laps.sh
+++ b/src/usr/share/laps/laps.sh
@@ -23,7 +23,7 @@
# sed (sed)
# awk (gawk)
fiversion="2018-09-12a"
-lapsversion="2018-10-24a"
+lapsversion="2018-10-24b"
usage() {
${PAGER:-/usr/bin/less -F} >&2 <<ENDUSAGE
@@ -71,9 +71,9 @@ debuglevoutput() {
then
if test -n "${___dlo_silent}" ;
then
- cat
+ cat 1>&2
else
- sed -r -e "s/^/debug${___dlo_threshold}: /;"
+ sed -r -e "s/^/debug${___dlo_threshold}: /;" 1>&2
fi
else
cat 1>/dev/null 2>&1
bgstack15