fg: remove rogue abs() on PID argument

Present since the initial commit but I don't think anyone relies
on this.
This commit is contained in:
Johannes Altmanninger
2025-10-11 12:23:36 +02:00
parent c41fc52077
commit 8fe402e9f7
2 changed files with 16 additions and 5 deletions

9
tests/checks/fg.fish Normal file
View File

@@ -0,0 +1,9 @@
# RUN: %fish %s
builtin fg -- -1
# CHECKERR: fg: '-1' is not a valid process ID
# CHECKERR: {{.*}}/fg.fish (line {{\d+}}):
# CHECKERR: builtin fg -- -1
# CHECKERR: ^
# CHECKERR:
# CHECKERR: (Type 'help fg' for related documentation)