From b2c3adcd272d1d078e9a8f908d0b44fc4545c46b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 29 Dec 2005 13:52:16 +0000 Subject: require root capabilities --- tools/draklive | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') 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) }, -- cgit v1.2.1