summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xphpmalwarefinder10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpmalwarefinder b/phpmalwarefinder
index 1fbe4cf..c49a7bd 100755
--- a/phpmalwarefinder
+++ b/phpmalwarefinder
@@ -1,9 +1,9 @@
1#!/bin/bash 1#!/usr/bin/env bash
2 2
3YARA=$(which yara) 3YARA=$(type -P yara)
4CONFIG_PATH='/etc/phpmalwarefinder/malwares.yara' 4CONFIG_PATH='/etc/phpmalwarefinder/malwares.yara'
5IONICE_BIN=$(which ionice) 5IONICE_BIN=$(type -P ionice)
6NICE_BIN=$(which nice) 6NICE_BIN=$(type -P nice)
7 7
8if [ ! -f "$YARA" ] 8if [ ! -f "$YARA" ]
9then 9then
@@ -81,7 +81,7 @@ fi
81 81
82if [ ! -e ${NICE} ] 82if [ ! -e ${NICE} ]
83then 83then
84 echo "no nice program available. Please install ionice or nice." 84 echo "No nice program available. Please install ionice or nice."
85 exit 1 85 exit 1
86fi 86fi
87 87