util-src/pposix.c
changeset 5717 bf98912a4f5b
parent 5451 941ad88db8f3
child 5720 449399a7e136
child 5812 57ebf93ec720
--- a/util-src/pposix.c	Fri Jun 28 19:34:57 2013 +0200
+++ b/util-src/pposix.c	Fri Jun 28 20:16:43 2013 +0100
@@ -500,6 +500,7 @@
 	if(arguments < 1 || arguments > 3) {
 		lua_pushboolean(L, 0);
 		lua_pushstring(L, "incorrect-arguments");
+		return 2;
 	}
 
 	resource = luaL_checkstring(L, 1);