Commit 0c720e5e authored by Mike Hibler's avatar Mike Hibler

Be a bit more forgiving with the disk name (i.e., allow "/dev").

parent 0681ac63
......@@ -130,6 +130,7 @@ if (! -d $mountpoint) {
#
if (defined($diskopt)) {
$disk = $diskopt;
$disk =~ s/^\/dev\///;
}
else {
my $rootdev = `df | egrep '/\$'`;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment