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

signalling a system doesn't set an error code on an error

Open
#29 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
shell
Domain
cli

Research direction

Start at the mq.sh sem -signal command handling and compare its error paths with the sem -wait behavior shown in the issue. Verify that failed signalling returns a nonzero status while successful signalling remains successful; reproduce the examples with echo $? to confirm the result.

Written by the indexing model from the issue text.

Description

Compare e.g.:

$ mq.sh sem -wait odroidc4_1
Attempting to grab lock you already own with the same key. Please explicitly release
Failed to acquire lock for system (odroidc4_1)
$ echo $?
2

With

$ mq.sh sem -signal odroidc4_1
Attempting to unlock system odroidc4_1 that you do not hold
$ echo $?
0

Or

$ mq.sh sem -signal odroidc4_1
Attempting to unlock system odroidc4_1 with the wrong key!
$ echo $?
0
Dominant language
Shell
Stars
4
Forks
4
PR merge metrics
No merged PRs in 30d

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.

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.