summaryrefslogtreecommitdiff
path: root/perl/lib/Wallet/Kadmin/MIT.pm
diff options
context:
space:
mode:
authorBill MacAllister <whm@dropbox.com>2016-01-05 08:18:37 +0000
committerBill MacAllister <whm@dropbox.com>2016-01-05 08:18:37 +0000
commit9e1b210844faaa451cee3b9c0afa738120062e79 (patch)
tree04dc0116e6db1af234359b2f92bc6c280eb7b2ff /perl/lib/Wallet/Kadmin/MIT.pm
parent2a03ce35be9b900cc0fd5f305dec54ebcf3fed5a (diff)
parent802e47e8d84530d191817b2d86978a0b09803186 (diff)
Merge branch 'master' into ad-keytabs
Conflicts: NEWS
Diffstat (limited to 'perl/lib/Wallet/Kadmin/MIT.pm')
-rw-r--r--perl/lib/Wallet/Kadmin/MIT.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl/lib/Wallet/Kadmin/MIT.pm b/perl/lib/Wallet/Kadmin/MIT.pm
index ac45265..c5dea23 100644
--- a/perl/lib/Wallet/Kadmin/MIT.pm
+++ b/perl/lib/Wallet/Kadmin/MIT.pm
@@ -18,6 +18,7 @@ use strict;
use warnings;
use vars qw(@ISA $VERSION);
+use POSIX qw(_exit);
use Wallet::Config ();
use Wallet::Kadmin ();
@@ -65,11 +66,11 @@ sub kadmin {
$self->{fork_callback} () if $self->{fork_callback};
unless (open (STDERR, '>&STDOUT')) {
warn "wallet: cannot dup stdout: $!\n";
- exit 1;
+ _exit(1);
}
unless (exec ($Wallet::Config::KEYTAB_KADMIN, @args)) {
warn "wallet: cannot run $Wallet::Config::KEYTAB_KADMIN: $!\n";
- exit 1;
+ _exit(1);
}
}
local $_;