summaryrefslogtreecommitdiff
path: root/regress/sys/net/pflow/flow.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/net/pflow/flow.pl')
-rw-r--r--regress/sys/net/pflow/flow.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/net/pflow/flow.pl b/regress/sys/net/pflow/flow.pl
index fc5391dccd0..a982300100d 100644
--- a/regress/sys/net/pflow/flow.pl
+++ b/regress/sys/net/pflow/flow.pl
@@ -1,5 +1,5 @@
#! /usr/bin/perl
-# $OpenBSD: flow.pl,v 1.1 2013/08/23 08:25:58 florian Exp $
+# $OpenBSD: flow.pl,v 1.2 2013/09/11 20:37:09 florian Exp $
# Copyright (c) 2013 Florian Obser <florian@openbsd.org>
#
@@ -153,8 +153,8 @@ close($prog) or die $!;
open($prog, 'pfctl -si|') or die $!;
$line = <$prog>;
close($prog);
-system('pfctl', '-q -e') if ($line!~/^Status: Enabled/);
+system('pfctl', '-q', '-e') if ($line!~/^Status: Enabled/);
if (`ifconfig pflow0 2>&1` ne "pflow0: no such interface\n") {
system('ifconfig', 'pflow0', 'destroy');