Set the return code from ss_execute_line(), so that appropriate error
authorTheodore Tso <tytso@mit.edu>
Fri, 17 Mar 1995 20:59:25 +0000 (20:59 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 17 Mar 1995 20:59:25 +0000 (20:59 +0000)
checking is done.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5152 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/edit/ChangeLog
src/admin/edit/ss_wrapper.c

index 89d4f2edbf5c1251e937c873b633364d3612814f..55a20c3b5f413e7333bec94f2285e4a4e9cfb3a9 100644 (file)
@@ -1,3 +1,8 @@
+Tue Mar 14 16:29:05 1995    <tytso@rsx-11.mit.edu>
+
+       * 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  <tytso@dcl>
 
        * Makefile.in (ISODELIB): Remove reference to $(ISODELIB).
index 4ac58eee071e94b3e23a00b224a9bc1cb5f2f88d..bb12b51aa17d4a9523ba04e1c17db7f9718cbc20 100644 (file)
@@ -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++;