From 464031de215775c808b97537d2b55bc0e99e7459 Mon Sep 17 00:00:00 2001 From: Sancho Lerena Date: Tue, 7 Oct 2014 15:54:26 +0200 Subject: [PATCH] Fixed missing parameter, was calling to a fixed path --- pandora_server/util/integrity_check | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_server/util/integrity_check b/pandora_server/util/integrity_check index eb52c949f7..74d0d6ac1b 100755 --- a/pandora_server/util/integrity_check +++ b/pandora_server/util/integrity_check @@ -156,7 +156,7 @@ then cat /dev/null > $OUTPUT echo "#Pandora FMS Integrity Check generated at $HUMANDATE at `hostname` by $USER" >> $OUTPUT echo "Creating integrity check of Pandora FMS Console files" - for ax in `find /var/www/pandora_console/ -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"` + for ax in `find $CONSOLE_PATH -name "*.php" -o -name "*.js" -o -name "*.css" -o -name "*.sql"` do bx=`md5sum $ax` echo $bx >>$OUTPUT