From: Theodore Tso Date: Fri, 17 Mar 1995 20:59:25 +0000 (+0000) Subject: Set the return code from ss_execute_line(), so that appropriate error X-Git-Tag: krb5-1.0-beta5~537 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=427f80b9f01aaaab12bffb5b41cd96bedc41b673;p=krb5.git Set the return code from ss_execute_line(), so that appropriate error checking is done. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5152 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/admin/edit/ChangeLog b/src/admin/edit/ChangeLog index 89d4f2edb..55a20c3b5 100644 --- a/src/admin/edit/ChangeLog +++ b/src/admin/edit/ChangeLog @@ -1,3 +1,8 @@ +Tue Mar 14 16:29:05 1995 + + * ss_wrapper.c (main): Set the return code from ss_execute_line(), + so that appropriate error checking is done. + Thu Mar 2 12:18:57 1995 Theodore Y. Ts'o * Makefile.in (ISODELIB): Remove reference to $(ISODELIB). diff --git a/src/admin/edit/ss_wrapper.c b/src/admin/edit/ss_wrapper.c index 4ac58eee0..bb12b51aa 100644 --- a/src/admin/edit/ss_wrapper.c +++ b/src/admin/edit/ss_wrapper.c @@ -48,7 +48,7 @@ int main(argc, argv) exit(1); } if (request) { - (void) ss_execute_line(sci_idx, request, &code); + code = ss_execute_line(sci_idx, request, &code); if (code != 0) { ss_perror(sci_idx, code, request); exit_status++;