svn commit: r366143 - head/usr.sbin/pwm

Andriy Gapon avg at FreeBSD.org
Fri Sep 25 07:54:39 UTC 2020


Author: avg
Date: Fri Sep 25 07:54:38 2020
New Revision: 366143
URL: https://svnweb.freebsd.org/changeset/base/366143

Log:
  pwm(8): do not exit with failure after successfully reading configuration
  
  MFC after:	1 week

Modified:
  head/usr.sbin/pwm/pwm.c

Modified: head/usr.sbin/pwm/pwm.c
==============================================================================
--- head/usr.sbin/pwm/pwm.c	Fri Sep 25 07:41:51 2020	(r366142)
+++ head/usr.sbin/pwm/pwm.c	Fri Sep 25 07:54:38 2020	(r366143)
@@ -176,7 +176,6 @@ main(int argc, char *argv[])
 		    state.period,
 		    state.duty,
 		    state.enable);
-		goto fail;
 	} else {
 		if (action & PWM_ENABLE)
 			state.enable = true;


More information about the svn-src-head mailing list