Fix qmail deferral exit code.
FossilOrigin-Name: a133d5760f08b983c4543f2a51426079e15a1394c69ea5195f08b7bd79e3866c
This commit is contained in:
parent
36b4c1c572
commit
22542f9864
1 changed files with 1 additions and 1 deletions
|
|
@ -148,7 +148,7 @@ proc hl( msg: string, fg: ForegroundColor, bright=false ): string =
|
||||||
proc deferral*( msg: string ) =
|
proc deferral*( msg: string ) =
|
||||||
## Exit with Qmail deferral code immediately.
|
## Exit with Qmail deferral code immediately.
|
||||||
echo msg.replace( "\n", " - " ).hl( fgRed, bright=true )
|
echo msg.replace( "\n", " - " ).hl( fgRed, bright=true )
|
||||||
quit( 1 )
|
quit( 111 )
|
||||||
|
|
||||||
|
|
||||||
proc debug*( msg: string, args: varargs[string, `$`] ) =
|
proc debug*( msg: string, args: varargs[string, `$`] ) =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue