diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:17:13 (GMT) |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2002-08-14 19:17:13 (GMT) |
commit | 9be0af942ae5d23cebbb92a93b49d8c05f4ff429 (patch) | |
tree | dc44fc8e9f1703f753ec1d47c34768004e9e775f /plugins-scripts | |
parent | 58d26e7324a916e2ee747ddaab1270f8b3022fb7 (diff) | |
download | monitoring-plugins-9be0af942ae5d23cebbb92a93b49d8c05f4ff429.tar.gz |
patch for admin shares
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_disk_smb.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_disk_smb.pl b/plugins-scripts/check_disk_smb.pl index 608f62c..7430dd1 100755 --- a/plugins-scripts/check_disk_smb.pl +++ b/plugins-scripts/check_disk_smb.pl | |||
@@ -64,7 +64,7 @@ my $smbclientoptions=""; | |||
64 | # Options checking | 64 | # Options checking |
65 | 65 | ||
66 | ($opt_H) || ($opt_H = shift) || usage("Host name not specified\n"); | 66 | ($opt_H) || ($opt_H = shift) || usage("Host name not specified\n"); |
67 | my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+)/); | 67 | my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+\$?)/); |
68 | ($host) || usage("Invalid host: $opt_H\n"); | 68 | ($host) || usage("Invalid host: $opt_H\n"); |
69 | 69 | ||
70 | ($opt_s) || ($opt_s = shift) || usage("Share volume not specified\n"); | 70 | ($opt_s) || ($opt_s = shift) || usage("Share volume not specified\n"); |