Author: jlh
Date: Tue Sep 22 11:38:58 2015
New Revision: 288107
URL: https://svnweb.freebsd.org/changeset/base/288107

Log:
  Long overdue MFC r285444:
    Allow again periodic scripts to be run from command-line.
  
    PR:           188109
    Submitted by: Jason Unovitch

Modified:
  stable/10/etc/defaults/periodic.conf
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/defaults/periodic.conf
==============================================================================
--- stable/10/etc/defaults/periodic.conf        Tue Sep 22 11:25:37 2015        
(r288106)
+++ stable/10/etc/defaults/periodic.conf        Tue Sep 22 11:38:58 2015        
(r288107)
@@ -365,8 +365,12 @@ if [ -z "${source_periodic_confs_defined
                        *) return 0 ;;
                        esac
                        ;;
+                '')
+                        # Script run manually.
+                        return 0
+                        ;;
                *)
-                       echo "ASSERTION FAILED: Unexpected value for " \
+                       echo "ASSERTION FAILED: Unexpected value for" \
                            "\$PERIODIC: '$PERIODIC'" >&2
                        exit 127
                        ;;
_______________________________________________
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