aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2011-11-15 11:07:15 -0500
committerAnthony G. Basile <blueness@gentoo.org>2011-11-15 11:07:15 -0500
commit838bf16eef6d92fc46279cc07b9be2dbe4909ce2 (patch)
tree45a944900acf1cdff9d31c0f0334afca429455f2 /src
parentChangeLog, TODO: updated (diff)
downloadelfix-838bf16eef6d92fc46279cc07b9be2dbe4909ce2.tar.gz
elfix-838bf16eef6d92fc46279cc07b9be2dbe4909ce2.tar.bz2
elfix-838bf16eef6d92fc46279cc07b9be2dbe4909ce2.zip
src/{fix-gnustack.c,paxctl-ng.c}: fix exit code
Diffstat (limited to 'src')
-rw-r--r--src/fix-gnustack.c2
-rw-r--r--src/paxctl-ng.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/fix-gnustack.c b/src/fix-gnustack.c
index 8a43551..15e23e0 100644
--- a/src/fix-gnustack.c
+++ b/src/fix-gnustack.c
@@ -139,4 +139,6 @@ main( int argc, char *argv[])
elf_end(elf);
close(fd);
+
+ exit(EXIT_SUCCESS);
}
diff --git a/src/paxctl-ng.c b/src/paxctl-ng.c
index 8f5bf62..5527e40 100644
--- a/src/paxctl-ng.c
+++ b/src/paxctl-ng.c
@@ -569,4 +569,6 @@ main( int argc, char *argv[])
printf("\n");
}
+
+ exit(EXIT_SUCCESS);
}