diff --git a/onvif/scripts/zmonvif-probe.pl b/onvif/scripts/zmonvif-probe.pl index 37ca56834..94b5fdd19 100755 --- a/onvif/scripts/zmonvif-probe.pl +++ b/onvif/scripts/zmonvif-probe.pl @@ -374,7 +374,7 @@ else { my $url_svc_device = shift; $soap_version = shift; my $username = shift; - my $password = shift; + my $password = @_ ? shift : ''; $client = ONVIF::Client->new( { 'url_svc_device' => $url_svc_device,