Page MenuHomeFreeBSD

sh.1: Document exit status of the function return command
Needs ReviewPublic

Authored by tembun_bk.ru on Sat, Jan 31, 10:40 PM.
Referenced Files
Unknown Object (File)
Mon, Feb 2, 5:03 PM
Unknown Object (File)
Mon, Feb 2, 11:49 AM
Unknown Object (File)
Sun, Feb 1, 3:44 PM
Unknown Object (File)
Sun, Feb 1, 5:51 AM
Unknown Object (File)
Sun, Feb 1, 5:03 AM
Unknown Object (File)
Sun, Feb 1, 4:28 AM
Subscribers

Details

Summary

It's not obvious that if exitstatus is omitted, the exit status of the function is taken from the last executed command.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

tembun_bk.ru retitled this revision from sh.1: Document exit status for the function return command to sh.1: Document exit status of the function return command.