exit() vs _exit()
Hi,
I've noticed we have some exit() calls in the libs,
e.g. in exec_helper()
libmount/src/context_mount.c
libmount/src/context_umount.c
Is this really ok or shouldn't we use _exit() there?
cu,
Rudi
Karel Zak
maintainerQuoted 10 lines · Ruediger Meier
Hi,
I've noticed we have some
exit()calls in the libs,e.g. in
exec_helper()
libmount/src/context_mount.c
libmount/src/context_umount.cIs this really ok or shouldn't we use
_exit()there?
I think _exit() is better in this case.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com
Karel Zak
maintainerQuoted 4 lines · Ruediger Meier
libmount/src/context_mount.c
libmount/src/context_umount.cIs this really ok or shouldn't we use
_exit()there?
Fixed, thanks.
Karel
Signature · 2 lines
Karel Zak <[email protected]> http://karelzak.blogspot.com