Handle plugin's open function returning -2 (usage error).

This commit is contained in:
Todd C. Miller
2010-04-13 09:36:43 -04:00
parent 40533f381e
commit f19be6da31
5 changed files with 100 additions and 74 deletions

View File

@@ -465,6 +465,7 @@ usage(int exit_val)
lbuf_print(&lbuf);
}
lbuf_destroy(&lbuf);
cleanup(0);
exit(exit_val);
}