]> Sergey Matveev's repositories - public-inbox.git/commit
edit: propagate correct editor exit code
authorEric Wong <e@80x24.org>
Fri, 8 Nov 2019 20:20:17 +0000 (20:20 +0000)
committerEric Wong <e@80x24.org>
Fri, 8 Nov 2019 20:20:59 +0000 (20:20 +0000)
commit59cfad2031b5e9c86206e4a1562a84d2b549bf69
tree32d273583d6da83fa38bfa4bb48dea8613928cd3
parent54eca8f1163fbba1ff297468becf8f62eb9a44a4
edit: propagate correct editor exit code

exit($?) is never correct, since ($? >> 8) is needed to extract
the correct exit code, as other information (e.g. such as signal)
is encoded in $? in addition to the exit code.
script/public-inbox-edit