Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Sep 2020 07:54:38 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366143 - head/usr.sbin/pwm
Message-ID:  <202009250754.08P7scC4008745@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009250754.08P7scC4008745>