Commit a0ecd6a2 authored by Ad Schellevis's avatar Ad Schellevis

(legacy) fix uninitialized in rc.dyndns.update

parent bdfbe06f
......@@ -34,7 +34,11 @@ require_once("filter.inc");
/* Interface IP address has changed */
$argument = trim($argv[1], " \n");
if (isset($argv[1])) {
$argument = trim($argv[1], " \n");
} else {
$argument = null;
}
if(empty($argument)) {
services_dyndns_configure();
......
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