Unix: Does return 0 equal true (in sourced script to shell's environment)?
Does return 0 equal true (in sourced script to shell's environment)?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(unix.stackexchange.com/users/126755/vlastimil-buri%c3%a1n)Vlastimil Burián
(unix.stackexchange.com/users/170373/ilkkachu)ilkkachu
(unix.stackexchange.com/users/168757/stephen-harris)Stephen Harris
(unix.stackexchange.com/users/22565/st%c3%a9phane-chazelas)Stéphane Chazelas
A special thanks goes out to the (https://unix.stackexchange.com/questions/755009/does-return-0-equal-true-in-sourced-script-to-shells-environment)Stackexchange community
I wish you all a wonderful day! Stay safe :)
shell function posix scripting exit-status