Commit 69954786 authored by Mike Hibler's avatar Mike Hibler
Browse files

Argh! Have to have ruid==0 to make the ssh call I just added.

parent 2515730b
......@@ -346,7 +346,12 @@ sub fatal {
sub fsinit() {
my @rawmounts;
foreach my $mount (split('\n', `$SSH $MOUNTPROG`)) {
my $saveuid = $UID;
$UID = 0;
my $mountinfo = `$SSH $MOUNTPROG`;
$UID = $saveuid;
foreach my $mount (split('\n', $mountinfo)) {
if ($mount =~ /$EXPORT_PAT/) {
push(@rawmounts, $1);
}
......
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