diff options
Diffstat (limited to 'regress/usr.sbin/syslogd')
-rw-r--r-- | regress/usr.sbin/syslogd/Syslogd.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.sbin/syslogd/Syslogd.pm b/regress/usr.sbin/syslogd/Syslogd.pm index 8aa6f6fe182..21d7012a0d7 100644 --- a/regress/usr.sbin/syslogd/Syslogd.pm +++ b/regress/usr.sbin/syslogd/Syslogd.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Syslogd.pm,v 1.12 2015/06/15 21:44:57 bluhm Exp $ +# $OpenBSD: Syslogd.pm,v 1.13 2015/07/16 16:34:34 bluhm Exp $ # Copyright (c) 2010-2015 Alexander Bluhm <bluhm@openbsd.org> # Copyright (c) 2014 Florian Riehm <mail@friehm.de> @@ -98,7 +98,7 @@ sub child { my $self = shift; my @sudo = $ENV{SUDO} ? $ENV{SUDO} : (); - my @pkill = (@sudo, "pkill", "-x", "syslogd"); + my @pkill = (@sudo, "pkill", "-KILL", "-x", "syslogd"); my @pgrep = ("pgrep", "-x", "syslogd"); system(@pkill) && $? != 256 and die ref($self), " system '@pkill' failed: $?"; |