summaryrefslogtreecommitdiffstats
path: root/rescue/bin
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/bin')
-rwxr-xr-xrescue/bin/guessmounts4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/bin/guessmounts b/rescue/bin/guessmounts
index 13ec2802e..07cd62ba3 100755
--- a/rescue/bin/guessmounts
+++ b/rescue/bin/guessmounts
@@ -135,9 +135,9 @@ if ($root) {
my $dev = fs::wild_device::from_part('', $_);
mkdir_p($where);
print STDERR "\t$dev on $where type $_->{fs_type} options $_->{options}\n";
- system("mount -t $_->{fs_type} $dev $where -o $_->{options}");
+ system('mount', '-t', $_->{fs_type}, $dev, $where, '-o', $_->{options});
}
- system("mount -t proc proc $target/proc");
+ system(qw(mount -t proc proc), "$target/proc");
foreach (qw(/dev /run /sys)) {
system('mount', '--bind', $_, "$target/$_");
}