Commit ca556d99 authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

(legacy) fix uninitialized in rc.dyndns.update

parent 9834c00e
......@@ -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