diff --git a/bin/hardening/1.6.4_restrict_core_dumps.sh b/bin/hardening/1.6.4_restrict_core_dumps.sh index 3845952..4890d98 100755 --- a/bin/hardening/1.6.4_restrict_core_dumps.sh +++ b/bin/hardening/1.6.4_restrict_core_dumps.sh @@ -29,7 +29,7 @@ audit() { LIMIT_FILES="" if $SUDO_CMD [ -d "$LIMIT_DIR" ]; then for file in $($SUDO_CMD ls "$LIMIT_DIR"/*.conf 2>/dev/null); do - LIMIT_FILES="$LIMIT_FILES $LIMIT_DIR/$file" + LIMIT_FILES="$LIMIT_FILES $file" done fi debug "Files to search $LIMIT_FILE $LIMIT_FILES"