diff options
Diffstat (limited to 'dkim')
| -rwxr-xr-x | dkim/reconfig-smtpd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dkim/reconfig-smtpd b/dkim/reconfig-smtpd index a7edd82..a9a302d 100755 --- a/dkim/reconfig-smtpd +++ b/dkim/reconfig-smtpd @@ -1,4 +1,4 @@ -#!/bin/rc -e +#!/bin/rc -ex # This script reconfigures and reloads smtpd to use the provided info. @@ -16,7 +16,7 @@ fn err { echo $* >[1=2] } -if (~ $#* 2 || ~ $#* 3) { } else { +if (test $#* -gt 3 || test $#* -lt 2) { err 'usage: reconfig-smtpd <rsakey> <ed25519key> [domain]' exit 2 } |