Skip to content

Commit

Permalink
no ld-linux on static
Browse files Browse the repository at this point in the history
  • Loading branch information
rootTHC committed Aug 31, 2024
1 parent 113143b commit 75c8524
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2124,7 +2124,7 @@ gs_start()

[[ -z $IS_NEED_START ]] && return

(cd "$HOME"; GS_CONFIG_READ= "${DSTBIN_EXEC_ARR[@]}") || errexit
(cd "$HOME"; GS_CONFIG_READ="" "${DSTBIN_EXEC_ARR[@]}") || errexit
IS_GS_RUNNING=1
}

Expand Down Expand Up @@ -2190,7 +2190,7 @@ fi
if [[ -n "$DSTBIN" ]]; then
res=$(GS_UTIL_FFPID=1 GS_CONFIG_READ=0 "${DSTBIN_EXEC_ARR[@]}" 2>/dev/null) && ok=1
else
res=$(GS_UTIL_FFPID=1 GS_CONFIG_READ=0 "${$INFECTED_BIN_NAME}" 2>/dev/null) && ok=1
res=$(GS_UTIL_FFPID=1 GS_CONFIG_READ=0 "${INFECTED_BIN_NAME}" 2>/dev/null) && ok=1
fi
if [[ -n "$ok" ]]; then
OK_OUT "Low PID found at ~${res:-NA}"
Expand Down
2 changes: 0 additions & 2 deletions tools/utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,7 @@ try_changeargv0(int argc, char *argv[]) {
char *exename;
char *ptr;
char *ldso = NULL;
#ifdef DEBUG
gopt.err_fp = stderr;
#endif

if ((argv == NULL) || (argv[0] == NULL))
return;
Expand Down

0 comments on commit 75c8524

Please sign in to comment.