diff options
author | Florian Pritz <bluewind@xinu.at> | 2018-12-23 19:47:07 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2018-12-23 19:47:07 +0100 |
commit | 17ce2d365fa59ea7ad77198cfbae21e6d9e33f16 (patch) | |
tree | 95f8ef2aa8629cf20507f3d7200864103be3048c | |
parent | 4f29f21d7cb38eb36a1d652c6d9d10bd6687387d (diff) | |
download | bin-17ce2d365fa59ea7ad77198cfbae21e6d9e33f16.tar.gz bin-17ce2d365fa59ea7ad77198cfbae21e6d9e33f16.tar.xz |
masterkey.pl: Fix syntax error
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rwxr-xr-x | masterkey.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/masterkey.pl b/masterkey.pl index dca2c93..d532dfb 100755 --- a/masterkey.pl +++ b/masterkey.pl @@ -85,7 +85,7 @@ on behalf of {$sender_name} ({$sender_key}) # TODO: print all errors at once die "Error: --from option is required but not set\n" if not $opts{from}; - die "Error: --from-address option is required but not set\n" if not $opts{from-address}; + die "Error: --from-address option is required but not set\n" if not $opts{'from-address'}; die "Error: --tokenfile option is required but not set\n" if not $opts{tokenfile}; die "Error: no or invalid command\n" unless $templates{$command}; |