diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-02 18:28:31 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-02 18:28:31 +0000 |
commit | b18fd10862e964252aa9a4170d4ca9fe2758124b (patch) | |
tree | 9fcfd646ccd1c0d8a0ea3746a46330e8965fe756 | |
parent | 880e15252017f5438da2a5acd925f7db8d48085a (diff) | |
download | pfsense-b18fd10862e964252aa9a4170d4ca9fe2758124b.zip pfsense-b18fd10862e964252aa9a4170d4ca9fe2758124b.tar.gz |
Note when arguments are passed incorrectly to rc.linkup
-rwxr-xr-x | etc/rc.linkup | 3 |
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]); |