Commit 2ad7f67c authored by Mike Hibler's avatar Mike Hibler
Browse files

dum, dum, dum...fix syntax error

parent 749f9903
...@@ -381,7 +381,7 @@ sub SetupFsNode() ...@@ -381,7 +381,7 @@ sub SetupFsNode()
# Make sure /usr/ports is not a symlink to RO shared space # Make sure /usr/ports is not a symlink to RO shared space
if (-l "/usr/ports") { if (-l "/usr/ports") {
if (!unlink("/usr/ports") { if (!unlink("/usr/ports")) {
print "WARNING: /usr/ports is a symlink, port install may fail\n"; print "WARNING: /usr/ports is a symlink, port install may fail\n";
} else { } else {
mysystem("mkdir /usr/ports"); mysystem("mkdir /usr/ports");
...@@ -682,7 +682,7 @@ sub SetupOpsNode($) ...@@ -682,7 +682,7 @@ sub SetupOpsNode($)
# Make sure /usr/ports is not a symlink to RO shared space # Make sure /usr/ports is not a symlink to RO shared space
if (-l "/usr/ports") { if (-l "/usr/ports") {
if (!unlink("/usr/ports") { if (!unlink("/usr/ports")) {
print "WARNING: /usr/ports is a symlink, port install may fail\n"; print "WARNING: /usr/ports is a symlink, port install may fail\n";
} else { } else {
mysystem("mkdir /usr/ports"); mysystem("mkdir /usr/ports");
...@@ -1014,7 +1014,7 @@ sub SetupBossNode() ...@@ -1014,7 +1014,7 @@ sub SetupBossNode()
# Make sure /usr/ports is not a symlink to RO shared space # Make sure /usr/ports is not a symlink to RO shared space
if (-l "/usr/ports") { if (-l "/usr/ports") {
if (!unlink("/usr/ports") { if (!unlink("/usr/ports")) {
print "WARNING: /usr/ports is a symlink, port install may fail\n"; print "WARNING: /usr/ports is a symlink, port install may fail\n";
} else { } else {
mysystem("mkdir /usr/ports"); mysystem("mkdir /usr/ports");
......
Supports Markdown
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