Improve exit codes for scripts

Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
Adrien Gallouët
2018-06-02 15:15:35 +00:00
parent 524ae42069
commit c7fed357fb
3 changed files with 12 additions and 14 deletions

View File

@@ -7,7 +7,7 @@
#include "../argz/argz.h"
int
static int
gt_path_status(int fd)
{
struct ctl_msg req = {
@@ -141,5 +141,5 @@ gt_path(int argc, char **argv)
ctl_delete(fd);
return 0;
return !!ret;
}