From 17ce2d365fa59ea7ad77198cfbae21e6d9e33f16 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 23 Dec 2018 19:47:07 +0100 Subject: masterkey.pl: Fix syntax error Signed-off-by: Florian Pritz --- masterkey.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- cgit v1.2.3-24-g4f1b