summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-03-10 18:44:57 +0000
committerFrancois Pons <fpons@mandriva.com>2003-03-10 18:44:57 +0000
commitbf7b3420a5101e8f4a29ff1233334e0c7547c223 (patch)
tree667f7756de368d3b217bed122e8fad690caa4435 /rescue
parent7351c954a3af9409f486c0b97b3839d7ec911af1 (diff)
downloaddrakx-backup-do-not-use-bf7b3420a5101e8f4a29ff1233334e0c7547c223.tar
drakx-backup-do-not-use-bf7b3420a5101e8f4a29ff1233334e0c7547c223.tar.gz
drakx-backup-do-not-use-bf7b3420a5101e8f4a29ff1233334e0c7547c223.tar.bz2
drakx-backup-do-not-use-bf7b3420a5101e8f4a29ff1233334e0c7547c223.tar.xz
drakx-backup-do-not-use-bf7b3420a5101e8f4a29ff1233334e0c7547c223.zip
added missing right parenthesis.
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/tree/etc/oem2
-rwxr-xr-xrescue/tree/etc/oem-all2
2 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/oem b/rescue/tree/etc/oem
index eef09b484..b8b793365 100755
--- a/rescue/tree/etc/oem
+++ b/rescue/tree/etc/oem
@@ -317,7 +317,7 @@ if ($options{free_size} && $options{free_fs}) {
}
push @commands, sprintf "mkpart %s %s %s %s", $options{free_primary} ? 'primary' : 'logical', $options{free_fs} =~ /fat/ ? 'fat' : $options{free_fs}, correct_start_end($options{free_primary} ? \$free_point : \$point, $hd_size);
}
-system "parted", "-s", "/dev/$hd", @commands == 0 or die "unable to partition the disk $hd";
+system("parted", "-s", "/dev/$hd", @commands) == 0 or die "unable to partition the disk $hd";
#- we have to build swap and mount it.
print "Setting swap\n";
diff --git a/rescue/tree/etc/oem-all b/rescue/tree/etc/oem-all
index 1dcc5e004..ac2a0a2ac 100755
--- a/rescue/tree/etc/oem-all
+++ b/rescue/tree/etc/oem-all
@@ -315,7 +315,7 @@ if ($options{free_size} && $options{free_fs}) {
}
push @commands, sprintf "mkpart %s %s %s %s", $options{free_primary} ? 'primary' : 'logical', $options{free_fs} =~ /fat/ ? 'fat' : $options{free_fs}, correct_start_end($options{free_primary} ? \$free_point : \$point, $hd_size);
}
-system "parted", "-s", "/dev/$hd", @commands == 0 or die "unable to partition the disk $hd";
+system("parted", "-s", "/dev/$hd", @commands) == 0 or die "unable to partition the disk $hd";
#- try to help user if a free space has been set and no fs defined for it.
if ($options{free_size} && !$options{free_fs}) {