diff options
author | B Stack <bgstack15@gmail.com> | 2018-10-24 16:35:32 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-10-24 16:35:32 -0400 |
commit | 8615afb9c482a1d47981760b903953c12eb17ff9 (patch) | |
tree | 925ba2cd6875a86fad49fd338ede53b75aa60d62 /src | |
parent | fix version.txt and the way build script learns version (diff) | |
download | laps-8615afb9c482a1d47981760b903953c12eb17ff9.tar.gz laps-8615afb9c482a1d47981760b903953c12eb17ff9.tar.bz2 laps-8615afb9c482a1d47981760b903953c12eb17ff9.zip |
fix debuglevoutput to actually send to stderr
Diffstat (limited to 'src')
-rwxr-xr-x | src/usr/share/laps/laps.sh | 6 |
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 |