svn commit: r366359 - stable/12/usr.sbin/pwm

Andriy Gapon avg at FreeBSD.org
Fri Oct 2 12:49:28 UTC 2020


Author: avg
Date: Fri Oct  2 12:49:27 2020
New Revision: 366359
URL: https://svnweb.freebsd.org/changeset/base/366359

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

Modified:
  stable/12/usr.sbin/pwm/pwm.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/pwm/pwm.c
==============================================================================
--- stable/12/usr.sbin/pwm/pwm.c	Fri Oct  2 12:48:07 2020	(r366358)
+++ stable/12/usr.sbin/pwm/pwm.c	Fri Oct  2 12:49:27 2020	(r366359)
@@ -177,7 +177,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-all mailing list