execute(path)
char *path;
{
- union wait response;
+ int response;
STRING data;
register int code;
if (code)
return(connection_errno(conn));
if (dbg & DBG_TRACE)
- com_err(whoami, 0, "execute returned %x (%d)",
- response, response.w_retcode);
- if (response.w_retcode) {
-/****************************************************************
- * The following line is there because the current update servers
- * don't return the correct error code when an update fails. Remove
- * this line when they are fixed. -mar 7/26/88
- ****************************************************************/
- return(SMS_INTERNAL);
-/* return(response.w_retcode); */
- }
+ com_err(whoami, response, "execute returned %d", response);
+ if (response)
+ return(response);
return(SMS_SUCCESS);
}