Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sys_info verbose for httpd and calendar (diff)
I noticed sys_info's -v didn't work for bozohttpd and calendar.
$ sh ./sys_info.sh -v httpd calendar openssl
bozohttpd-20170201
calendar-20160601
+ openssl version 2>/dev/null | awk '{ print tolower($1) "-" $2 }'
openssl-1.0.2k
Okay if I commit the following?
Index: sys_info.sh
===================================================================
RCS file: /cvsroot/src/usr.bin/sys_info/sys_info.sh,v
retrieving revision 1.17
diff -r1.17 sys_info.sh
113c113
< v=$(run "${destdir}/usr/libexec/httpd -G" 2>/dev/null)
---
> v=$(run "${destdir}/usr/libexec/httpd -G")
127c127
< v=$(run "calendar -v" 2>/dev/null || true)
---
> v=$(run "calendar -v" || true)
Or is there some specific reason these should lose stderr?
After the diff:
+ /usr/libexec/httpd -G
bozohttpd-20170201
+ calendar -v
calendar-20160601
+ openssl version 2>/dev/null | awk '{ print tolower($1) "-" $2 }'
openssl-1.0.2k
And do you want me to bump SYS_INFO_VERSION=20170928 ?
I just learned about this tool. Thanks for it.
Jeremy C. Reed
echo Ohl zl obbx uggc://errqzrqvn.arg/obbxf/csfrafr/ | \
tr "Onoqrsuvxzabcefghl" "Babdefhikmnoprstuy"
Home |
Main Index |
Thread Index |
Old Index