Verified Commit 00bda3c1 authored by Marc Vef's avatar Marc Vef
Browse files

Bugfix: gkfs script

parent ce08e512
Loading
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -222,8 +222,10 @@ start_daemon() {
        done
    else
        create_pid_file ${SRUN_DAEMON_PID_FILE} ${daemon_pid}
        if [[ ${USE_PROXY} == true ]]; then
            create_pid_file ${SRUN_PROXY_PID_FILE} ${proxy_pid}
        fi
    fi
}
#######################################
# Stops GekkoFS daemons for the configured pid file
@@ -243,7 +245,7 @@ stop_daemons() {
        exit 1
    fi
    # attempt to shutdown proxy
    if [[ -e ${proxy_pid_file} ]]; then
    if [[ ${USE_PROXY} == true ]] && [[ -e ${proxy_pid_file} ]]; then
        while IFS= read -r line
        do
            if ps -p "${line}" > /dev/null; then