Change in osmo-ggsn[master]: Don't return error on normal shutdown

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Max gerrit-no-reply at lists.osmocom.org
Thu Mar 14 14:58:30 UTC 2019


Max has uploaded this change for review. ( https://gerrit.osmocom.org/13249


Change subject: Don't return error on normal shutdown
......................................................................

Don't return error on normal shutdown

Previously we've always returned error code from main() even in case of
regular expected shutdown. Let's not confuse it with actual error
shutdown and return 0 by default.

Change-Id: I7fe0d3e052953d5b87ce65649d88d83476fee3c0
---
M ggsn/ggsn.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/49/13249/1

diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index 39695b9..dd723e9 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -1158,5 +1158,5 @@
 	llist_for_each_entry(ggsn, &g_ggsn_list, list)
 		ggsn_stop(ggsn);
 
-	return 1;
+	return 0;
 }

-- 
To view, visit https://gerrit.osmocom.org/13249
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I7fe0d3e052953d5b87ce65649d88d83476fee3c0
Gerrit-Change-Number: 13249
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190314/d73ff440/attachment.htm>


More information about the gerrit-log mailing list