Format log messages with pattern 'sourcezap: <message>'
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
Some checks are pending
sourcezap / shellcheck (push) Waiting to run
This commit is contained in:
parent
56089665a7
commit
a41f37965e
2 changed files with 6 additions and 2 deletions
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
printok()
|
printok()
|
||||||
{
|
{
|
||||||
printf "ok: %s\n" "${1}" > /dev/stdout
|
printf "sourcezap: %s\n" "${1}" > /dev/stdout
|
||||||
}
|
}
|
||||||
|
|
||||||
printerr()
|
printerr()
|
||||||
{
|
{
|
||||||
printf "error: %s\n" "${1}" > /dev/stderr
|
printf "sourcezap: %s\n" "${1}" > /dev/stderr
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
* vNEXT
|
* vNEXT
|
||||||
|
|
||||||
|
**** Format log messages with program name
|
||||||
|
This change formats log messages written to standard output
|
||||||
|
and standard error with the pattern ~sourcezap: <message>~
|
||||||
|
|
||||||
**** Replace chmod with -M switch
|
**** Replace chmod with -M switch
|
||||||
This change replaces chmod with the -M switch. The -M switch
|
This change replaces chmod with the -M switch. The -M switch
|
||||||
is given to the ~pw useradd~ command in the ~setup-user~
|
is given to the ~pw useradd~ command in the ~setup-user~
|
||||||
|
|
Loading…
Reference in a new issue