diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-12-29 13:52:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-12-29 13:52:16 +0000 |
commit | b2c3adcd272d1d078e9a8f908d0b44fc4545c46b (patch) | |
tree | afac0bd91e1b08064d6935427e6be7945cf24407 /tools | |
parent | ba3824ffb7d930d59edf937917a1a29551a2fe6e (diff) | |
download | drakx-b2c3adcd272d1d078e9a8f908d0b44fc4545c46b.tar drakx-b2c3adcd272d1d078e9a8f908d0b44fc4545c46b.tar.gz drakx-b2c3adcd272d1d078e9a8f908d0b44fc4545c46b.tar.bz2 drakx-b2c3adcd272d1d078e9a8f908d0b44fc4545c46b.tar.xz drakx-b2c3adcd272d1d078e9a8f908d0b44fc4545c46b.zip |
require root capabilities
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/draklive | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive index d9e51c7bb..445b2da15 100755 --- a/tools/draklive +++ b/tools/draklive @@ -702,7 +702,7 @@ sub copy_wizard { my @available_devices; require interactive; require wizards; - my $in = 'interactive'->vnew; + my $in = 'interactive'->vnew('su'); my $w = wizards->new; my ($storage, $device, $format); $w->process({ @@ -799,6 +799,8 @@ my @actions = ( ); my @all = qw(install boot loop master); +require_root_capability(); + my (%live, $copy_wizard); GetOptions( "help" => sub { pod2usage('-verbose' => 1) }, |