Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/helper_system_remote_scan')
-rw-r--r--include/helper_system_remote_scan4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/helper_system_remote_scan b/include/helper_system_remote_scan
index 89f18b70..58d3e121 100644
--- a/include/helper_system_remote_scan
+++ b/include/helper_system_remote_scan
@@ -49,8 +49,8 @@
# Enable screen output again
QUIET=0
- SCP_BINARY=`which scp 2> /dev/null`
- SSH_BINARY=`which ssh 2> /dev/null`
+ SCP_BINARY=$(which scp 2> /dev/null)
+ SSH_BINARY=$(which ssh 2> /dev/null)
if [ "${SCP_BINARY}" = "" ]; then echo "Could not find scp binary"; ExitFatal; fi
if [ "${SSH_BINARY}" = "" ]; then echo "Could not find ssh binary"; ExitFatal; fi