summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 58d26e7)
raw | patch | inline | side by side (parent: 58d26e7)
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:17:13 +0000 (19:17 +0000) | ||
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | |
Wed, 14 Aug 2002 19:17:13 +0000 (19:17 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@80 f882894a-f735-0410-b71e-b25c423dba1c
plugins-scripts/check_disk_smb.pl | patch | blob | history |
index 608f62ccc072699404768feb8c084c4925fcd9d2..7430dd106b16e7cc846ac82ab60b7c62976dadb5 100755 (executable)
# 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");