mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-10 09:10:08 -04:00
patch for admin shares
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
58d26e7324
commit
9be0af942a
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ my $smbclientoptions="";
|
|||
# Options checking
|
||||
|
||||
($opt_H) || ($opt_H = shift) || usage("Host name not specified\n");
|
||||
my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+)/);
|
||||
my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+\$?)/);
|
||||
($host) || usage("Invalid host: $opt_H\n");
|
||||
|
||||
($opt_s) || ($opt_s = shift) || usage("Share volume not specified\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue