summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive4
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) },