simplified log source name evaluation
This commit is contained in:
parent
9004e2bb6e
commit
17801e9c20
|
@ -9,8 +9,7 @@ if [ -z $SMF_FMRI ];
|
|||
exit $SMF_EXIT_ERR_NOSMF
|
||||
fi
|
||||
|
||||
ME=$(basename $0)
|
||||
ME=${ME#svc-}
|
||||
ME=${0##*/svc-}
|
||||
|
||||
function log {
|
||||
# helper function to log arbitrary messages via syslog
|
||||
|
|
Loading…
Reference in New Issue