summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
authorNiklas Söderlund <niso@kth.se>2012-07-30 19:42:33 +0000
committerStefan Tauner <stefan.tauner@alumni.tuwien.ac.at>2012-07-30 19:42:33 +0000
commit2a95e8713b941f58a7f5ff94aee38edae70af15d (patch)
treef97dccd7ef57d80a4fbee2c5d23a67869c298cb0 /internal.c
parent00ec027368e5ef46d9dec430124357915dc8b903 (diff)
downloadflashrom-2a95e8713b941f58a7f5ff94aee38edae70af15d.tar.gz
flashrom-2a95e8713b941f58a7f5ff94aee38edae70af15d.tar.bz2
flashrom-2a95e8713b941f58a7f5ff94aee38edae70af15d.zip
Remove more exit calls
This patch removes the remaining exit calls from - sp_openserport - sp_opensocket - sp_docommand - internal_init Almost all of this was done by Niklas. Corresponding to flashrom svn r1557. Signed-off-by: Niklas Söderlund <niso@kth.se> Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'internal.c')
-rw-r--r--internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.c b/internal.c
index bf1ca8cdb..3ecc3486e 100644
--- a/internal.c
+++ b/internal.c
@@ -299,7 +299,7 @@ int internal_init(void)
msg_perr("Proceeding anyway because user forced us to.\n");
} else {
msg_perr("Aborting.\n");
- exit(1);
+ return 1;
}
}