xbps-reconfigure: do not bother to print useless msgs about unknown states.
Those states are not meaningful for the application.
This commit is contained in:
		@@ -79,10 +79,6 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbd _unused)
 | 
			
		||||
		if (slog)
 | 
			
		||||
			syslog(LOG_ERR, "%s", xscd->desc);
 | 
			
		||||
		break;
 | 
			
		||||
	default:
 | 
			
		||||
		xbps_dbg_printf(xscd->xhp,
 | 
			
		||||
		    "%s: unknown state %d\n", xscd->arg, xscd->state);
 | 
			
		||||
		break;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return 0;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user