diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2003-12-02 20:25:08 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2003-12-02 20:25:08 +0000 |
commit | 155f09dfc1a0551da46d70fbec4f5134ac5e4dae (patch) | |
tree | 283d7ef7a1e93dd499cb39e5fe451bc19cd68278 /move/tree/mdk_totem | |
parent | 530c47f27701b511bc9f6e3c2b3d4b7a40f0517c (diff) | |
download | drakx-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar drakx-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.gz drakx-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.bz2 drakx-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.tar.xz drakx-155f09dfc1a0551da46d70fbec4f5134ac5e4dae.zip |
allow mdk_totem to kill root processes
Diffstat (limited to 'move/tree/mdk_totem')
-rwxr-xr-x | move/tree/mdk_totem | 4 |
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); } } |