1 |
snetram |
1.1 |
diff -up e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.bareword-TERM e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
|
|
--- e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar.bareword-TERM 2011-07-19 17:45:14.000000000 +0200 |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2011-07-19 17:46:03.000000000 +0200 |
4 |
|
|
@@ -413,7 +413,7 @@ sub run_backup |
5 |
|
|
$report .= $data; |
6 |
|
|
|
7 |
|
|
if ($killerpid && kill(0, $killerpid)) { |
8 |
|
|
- while (kill(TERM, $killerpid) != 1) { |
9 |
|
|
+ while (kill('TERM', $killerpid) != 1) { |
10 |
|
|
warn "Failed to kill $killerpid killer process\n"; |
11 |
|
|
} |
12 |
|
|
|