diff options
Diffstat (limited to 'perl/t')
-rwxr-xr-x | perl/t/keytab.t | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/t/keytab.t b/perl/t/keytab.t index b8b6a6b..7b9a067 100755 --- a/perl/t/keytab.t +++ b/perl/t/keytab.t @@ -119,6 +119,7 @@ sub spawn_remctld { if (not defined $pid) { die "cannot fork: $!\n"; } elsif ($pid == 0) { + open (STDERR, '>&STDOUT') or die "cannot redirect stderr: $!\n"; exec ($path, '-m', '-p', 14373, '-s', $principal, '-P', 'test-pid', '-f', 't/data/keytab.conf', '-S', '-F', '-k', $keytab) == 0 or die "cannot exec $path: $!\n"; |