Simply note the arguments passed to rc.linkup instead of exiting.

This commit is contained in:
Scott Ullrich 2007-02-06 19:18:27 +00:00
parent 34d47cf510
commit aac8957dbb

View File

@ -42,11 +42,7 @@
$processing = true;
$counter = 1;
while($processing == true) {
if($argv[$counter] == "" or $argv[$counter] == "\n") {
$argspassed = file_get_contents("/tmp/rc.linkup");
log_error("Arguments passed incorrectly to rc.linkup. '{$argspassed}' Exiting.");
exit;
}
log_error("Arguments passed rc.linkup. '{$argspassed}'");
/* do not process nics twice */
if (in_array($argv[$counter] . $argv[$counter+1], $processed_nics))
continue;