Commit c62a168e authored by Mike Hibler's avatar Mike Hibler

Gotta use "umount -At nfs", not "umount -at nfs" on FreeBSD.

Little 'a' only removes mounts listed in /etc/fstab, which is none
given the way Emulab does NFS mounts. Big 'A' removes all mounted
filesystems of that type.
parent ce3706e4
......@@ -107,7 +107,7 @@ foreach my $dbfile (@DBFILES) {
#
if (!$noumount) {
print "Unmounting NFS filesystems ...\n";
if (!system("umount -at nfs")) {
if (!system("umount -At nfs")) {
foreach my $dir ("/users", "/proj", "/groups", "/scratch") {
# Yes, this can happen.
next
......
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