Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

using script_stop, there is a problem when using cat in script to output to a file.

Open
#175 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
go, shell
Domain
cli

Research direction

Start by reproducing the example with script_stop and a shell cat command that writes to a file, then trace the remote command execution entry point. Compare the generated file with the intended contents and verify that script_stop still handles command failures correctly. Done means cat output is not prefixed with the repeated exit-code lines.

Written by the indexing model from the issue text.

Description

example file:

DRONE_SSH_PREV_COMMAND_EXIT_CODE=0 ; if [ 0 -ne 0 ]; then exit 0; fi;
version: '3.5'
DRONE_SSH_PREV_COMMAND_EXIT_CODE=0 ; if [ 0 -ne 0 ]; then exit 0; fi;
services:
DRONE_SSH_PREV_COMMAND_EXIT_CODE=0 ; if [ 0 -ne 0 ]; then exit 0; fi;
serve:
...
Dominant language
Go
Stars
315
Forks
79
Avg merge
3m
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from appleboy/drone-ssh

All issues in appleboy/drone-ssh

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.