From 419065b85aa877df67ee9e3e2db3b3fd9727cb90 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 21 Feb 2018 12:07:05 +0100 Subject: Improve our non-default configuration file path handling --- php-malware-finder/phpmalwarefinder | 6 ------ 1 file changed, 6 deletions(-) diff --git a/php-malware-finder/phpmalwarefinder b/php-malware-finder/phpmalwarefinder index 63b1f1c..b3ce7b7 100755 --- a/php-malware-finder/phpmalwarefinder +++ b/php-malware-finder/phpmalwarefinder @@ -15,13 +15,7 @@ fi if [ ! -f "$CONFIG_PATH" ] then - OLD_PATH=$CONFIG_PATH CONFIG_PATH='./php.yar' - if [ ! -f "$CONFIG_PATH" ] - then - echo "Unable to find 'php.yar' in $OLD_PATH, and in the current directory." - exit 0 - fi fi needle_in_haystack() { -- cgit v1.3