It compiles, it tests, it works. Needs documentation

This commit is contained in:
Ryan Voots 2017-05-03 21:25:53 -07:00
parent 1023bb6f38
commit 3cd310afe3
2 changed files with 4 additions and 2 deletions

View file

@ -22,7 +22,7 @@ sub mount {
my $options_str = join ',', map {"$_=".$options_hr->{$_}} keys %$options_hr;
my $ret = _mount_sys($source, $target, $filesystem//undef, $flags, $options_str);
my $ret = _mount_sys($source//"", $target//"", $filesystem//"", $flags//0, $options_str//"");
if ($ret != 0) {
die "mount failed: $ret $!";

View file

@ -85,7 +85,9 @@ sub namespace {
} else {
unshare($uflags);
$post_setup->();
}
};
return 1;
}
1;