[flashrom] [PATCH] remove exit call from internal_init
Niklas Söderlund
niso at kth.se
Wed May 30 20:48:36 CEST 2012
Replace with a return instead, all other plumbing is already in place
Signed-off-by: Niklas Söderlund <niso at kth.se>
---
internal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/internal.c b/internal.c
index 5b24577..75e526b 100644
--- a/internal.c
+++ b/internal.c
@@ -298,7 +298,7 @@ int internal_init(void)
msg_perr("Proceeding anyway because user forced us to.\n");
} else {
msg_perr("Aborting.\n");
- exit(1);
+ return 1;
}
}
--
1.7.10.2
More information about the flashrom
mailing list