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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to