Skip to content

Commit

Permalink
Minor change [ci skip]
Browse files Browse the repository at this point in the history
Signed-off-by: Paolo Di Tommaso <[email protected]>
  • Loading branch information
pditommaso committed Jul 30, 2024
1 parent 366e179 commit 909a9f3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions nextflow
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ function launch_nextflow() {
for x in "${launcher[@]}"; do
x="${x%\"}"
x="${x#\"}"
cmdline+=("$x")
done
cmdline+=("$x")
done

if [[ "$bg" ]]; then
local pid_file="${NXF_PID_FILE:-.nextflow.pid}"
Expand Down Expand Up @@ -460,6 +460,7 @@ else
launcher+=("${cmd_tail[@]}")
fi

# create the launch file only when using the legacy launcher (capsule)
if [[ $NXF_LEGACY_LAUNCHER ]]; then
# Don't show errors if the LAUNCH_FILE can't be created
if mkdir -p "${NXF_LAUNCHER}" 2>/dev/null; then
Expand Down

0 comments on commit 909a9f3

Please sign in to comment.