mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-03-07 17:57:22 +01:00
iup: improve the message logging function
This commit is contained in:
parent
7074b1ad67
commit
ca38833cf2
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ MAC=${MAC// /}
|
|||
MAC=$(echo $MAC | tr '[a-z]' '[A-Z]')
|
||||
|
||||
v() {
|
||||
[ "$VERBOSE" -ge 1 ] && logger -t iup "$@"
|
||||
[ "$VERBOSE" -ge 1 ] && logger -s -t $0[$$] "$@" 2>&1 | tee /dev/console
|
||||
}
|
||||
|
||||
if [ -f $IUPMD5 ]; then
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue