From 427f80b9f01aaaab12bffb5b41cd96bedc41b673 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 17 Mar 1995 20:59:25 +0000 Subject: [PATCH] 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 --- src/admin/edit/ChangeLog | 5 +++++ src/admin/edit/ss_wrapper.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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++; -- 2.26.2