]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix kadmin script mode command-not-found error 256/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 26 Feb 2015 20:02:37 +0000 (15:02 -0500)
committerGreg Hudson <ghudson@mit.edu>
Fri, 27 Feb 2015 23:46:59 +0000 (18:46 -0500)
commit9c491320f72f1e07f87c1cf5b7671505f3526891
treea603677f22c90e98f7b52660e93af9c3c9520a09
parent68ac7ac1f1a1d2939a2c99fa49cecd734614d16d
Fix kadmin script mode command-not-found error

In ss_wrapper.c, if ss_execute_command() returns an error, we should
call ss_perror() with *args as the third argument and not request
(which is NULL).  Expand out the conditional into three commented
branches for greater clarity, since the error-handling is no longer
identical for the ss_execute_command() and ss_execute_line() cases.

ticket: 7991
src/kadmin/cli/ss_wrapper.c