summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rwxr-xr-xetc/rc.linkup3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 251359f..fee8c3f 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -41,7 +41,8 @@
$counter = 1;
while($processing == true) {
if($argv[$counter] == "" or $argv[$counter] == "\n") {
- exit;
+ log_error("Arguments passed incorrectly to rc.linkup. Exiting.");
+ exit;
}
log_error("Processing {$argv[$counter]} - {$argv[$counter+1]}\n");
$friendly_interface = convert_real_interface_to_friendly_interface_name($argv[$counter]);
OpenPOWER on IntegriCloud