aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xtools/killev11
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b21eed8f8..c37bfb6470 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2001-10-23 Chris Toshok <toshok@ximian.com>
+
+ * tools/killev: use eq instead of ==.
+
2001-10-23 Christopher James Lahey <clahey@ximian.com>
* configure.in: Bumped required GAL to 0.15.99.3 so EEntry's
diff --git a/tools/killev b/tools/killev
index f38cce3738..b92d0303f6 100755
--- a/tools/killev
+++ b/tools/killev
@@ -22,7 +22,7 @@
$sysname=`uname -s`;
-if ($sysname == "SunOS") {
+if ($sysname eq "SunOS") {
$killcmd="pkill";
}
else {
@@ -37,10 +37,11 @@ sub kill_exe {
printf ("killing $exe_name\n");
- `$killcmd -9 $exe_name 2> /dev/null`;
- `$killcmd -9 $lt_name 2> /dev/null`;
- `$killcmd -9 $sub_exe_name 2> /dev/null`;
- `$killcmd -9 $sub_lt_name 2> /dev/null`;
+ $redirect = "2> /dev/null";
+ `$killcmd -9 $exe_name $redirect`;
+ `$killcmd -9 $lt_name $redirect`;
+ `$killcmd -9 $sub_exe_name $redirect`;
+ `$killcmd -9 $sub_lt_name $redirect`;
}
sub kill_exes {