Commit 82ae7d16 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix for WITHAMD.

parent 4c3975cb
......@@ -44,6 +44,8 @@ use Time::Local;
# Configure variables.
my $TB = "@prefix@";
my $WITHAMD = @WITHAMD@;
my $AMDROOT = "@AMD_ROOT@";
#
# Support for checking field values against what is specified.
......@@ -775,6 +777,9 @@ sub isMounted($)
my ($dir) = @_;
my $rval = 0;
my $MOUNT = "/sbin/mount";
if ($WITHAMD) {
$dir = "${AMDROOT}${dir}";
}
#
# Grab the output of the mount command and parse.
......
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