From 544e1c9329f70fa47a9580949d83f84eb7ddcd8e Mon Sep 17 00:00:00 2001 From: slerena Date: Wed, 13 Apr 2011 15:11:21 +0000 Subject: [PATCH] 2011-04-13 Sancho Lerena * lib/PandoraFMS/Tools.pm: Fixed bug #3273910. HPUX detection. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4208 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/lib/PandoraFMS/Tools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/lib/PandoraFMS/Tools.pm b/pandora_server/lib/PandoraFMS/Tools.pm index 61f2c9adb4..9b7466d586 100644 --- a/pandora_server/lib/PandoraFMS/Tools.pm +++ b/pandora_server/lib/PandoraFMS/Tools.pm @@ -235,7 +235,7 @@ sub pandora_get_os ($) { elsif ($command =~ m/AIX/i){ return 3; } - elsif ($command =~ m/HP-UX/i){ + elsif ($command =~ m/HP\-UX/i){ return 5; } elsif ($command =~ m/Apple/i){