Replace with a return instead, all other plumbing is already in place

Signed-off-by: Niklas Söderlund <[email protected]>
---
 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


_______________________________________________
flashrom mailing list
[email protected]
http://www.flashrom.org/mailman/listinfo/flashrom

Reply via email to