shell: ignore empty commands by dgruss · Pull Request #326 · isec-tugraz/sweb · GitHub
Skip to content

shell: ignore empty commands - #326

Merged
dgruss merged 1 commit into
mainfrom
shell-error-handling
Oct 23, 2026
Merged

dgruss merged 1 commit into
mainfrom
shell-error-handling

Conversation

@dgruss

@dgruss dgruss commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

Ignore empty shell input instead of trying to execute /usr/. Keep the previous command when Enter is pressed on an empty line.

This is split out from Florian Kargl's #287. The failed-exec child cleanup from that PR is already present on main.

@dgruss
dgruss merged commit 80c00eb into main Oct 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants