-
Notifications
You must be signed in to change notification settings - Fork 1.8k
SC2241
Vidar Holen edited this page Nov 25, 2018
·
1 revision
exit foo bar
echo foo
echo bar
exit
In bash, exit
can only be used to signal success or failure (0 = success, 1-255 = failure).
To exit with textual or multiple values from a function, write them to stdout and capture them with command substitution instead.
See SC2242 for more information.
None