summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/t')
0 files changed, 0 insertions, 0 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");
67my $host = $1 if ($opt_H =~ /([-_.A-Za-z0-9]+)/); 67my $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");