X-Git-Url: https://git.sthu.org/?a=blobdiff_plain;f=caff%2Fcaff;h=97b0aa25ff7d7645aa98854f569a7f0e7ff77add;hb=e0a862a5d077f8d925cc2380f6dc4355ff42c17c;hp=73152a434ddee2a53863551e7435acd3f9b5570e;hpb=14bdf40ab9674dc9493f63ca34f392a43a5bd783;p=pgp-tools.git diff --git a/caff/caff b/caff/caff index 73152a4..97b0aa2 100755 --- a/caff/caff +++ b/caff/caff @@ -333,11 +333,11 @@ sub load_config() { unless (-f $config) { print "No configfile $config present, I will use this template:\n"; my $template = generate_config(); - print "$template\nPress enter to continue."; - ; + print "$template\nPlease edit $config and run caff again.\n"; open F, ">$config" or die "$config: $!"; print F $template; close F; + exit(1); } unless (scalar eval `cat $config`) { die "Couldn't parse $config: $EVAL_ERROR\n" if $EVAL_ERROR;