From 0dd17ac67500a957cb6d638fae5c55e59ea6dc79 Mon Sep 17 00:00:00 2001 From: myon-guest Date: Sun, 7 Aug 2005 21:09:03 +0000 Subject: [PATCH] do not continue after writing template config file git-svn-id: svn://svn.debian.org/pgp-tools/trunk@165 b513b33f-fedd-0310-b452-c3deb5f4c849 --- caff/caff | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5