summaryrefslogtreecommitdiffstats
path: root/move/tree
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2003-12-02 20:25:08 +0000
committerPascal Rigaux <pixel@mandriva.com>2003-12-02 20:25:08 +0000
commit155f09dfc1a0551da46d70fbec4f5134ac5e4dae (patch)
tree283d7ef7a1e93dd499cb39e5fe451bc19cd68278 /move/tree
parent530c47f27701b511bc9f6e3c2b3d4b7a40f0517c (diff)
downloaddrakx-backup-do-not-use-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar
drakx-backup-do-not-use-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.gz
drakx-backup-do-not-use-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.bz2
drakx-backup-do-not-use-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.xz
drakx-backup-do-not-use-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.zip
allow mdk_totem to kill root processes
Diffstat (limited to 'move/tree')
-rwxr-xr-xmove/tree/mdk_totem4
1 files changed, 2 insertions, 2 deletions
diff --git a/move/tree/mdk_totem b/move/tree/mdk_totem
index 9bb795d97..43da60a3b 100755
--- a/move/tree/mdk_totem
+++ b/move/tree/mdk_totem
@@ -91,9 +91,9 @@ if (@busy) {
if ($choice eq 'keep') {
exec 'totem' or $in->exit;
} else {
- kill 15, map { $_->{pid} } @busy;
+ system('sudo', 'kill', map { $_->{pid} } @busy);
sleep 2;
- kill 9, map { $_->{pid} } @busy;
+ system('sudo', 'kill', '-9', map { $_->{pid} } @busy);
}
}