]> mj.ucw.cz Git - moe.git/commit
Distinguish between die() and err().
authorMartin Mares <mj@ucw.cz>
Fri, 22 Aug 2008 17:02:18 +0000 (19:02 +0200)
committerMartin Mares <mj@ucw.cz>
Fri, 22 Aug 2008 17:02:18 +0000 (19:02 +0200)
commit5a3865e59413cd51b7d55cbbfcf383c933ecb885
tree16acb657c2b7b815b029b12a2ff380e2133ebb96
parent04420f91fec8942f1fd83347f1a21feaaacf12b1
Distinguish between die() and err().

die() is used for internal errors only and it exits with status 2,
err() is used for reporting errors of the process inside the box with status 1.
box/box.c