FreeBSD Bugzilla – Attachment 202893 Details for
Bug 236564
periodic.sh: Anticongestion function does not work as is expected.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch file
usr.sbin_periodic_periodic.sh.patch (text/plain), 749 bytes, created by
Yasuhiro Kimura
on 2019-03-16 01:12:31 UTC
(
hide
)
Description:
Patch file
Filename:
MIME Type:
Creator:
Yasuhiro Kimura
Created:
2019-03-16 01:12:31 UTC
Size:
749 bytes
patch
obsolete
>Index: usr.sbin/periodic/periodic.sh >=================================================================== >--- usr.sbin/periodic/periodic.sh (revision 345186) >+++ usr.sbin/periodic/periodic.sh (working copy) >@@ -78,6 +78,9 @@ > > if [ -z "$PERIODIC_ANTICONGESTION_FILE" ] ; then > export PERIODIC_ANTICONGESTION_FILE=`mktemp ${TMPDIR:-/tmp}/periodic.anticongestion.XXXXXXXXXX` >+ remove_periodic_anticongestion_file=yes >+else >+ remove_periodic_anticongestion_file=no > fi > if tty > /dev/null 2>&1; then > export PERIODIC_IS_INTERACTIVE=1 >@@ -147,4 +150,6 @@ > } | output_pipe $arg "$context" > > rm -f $tmp_output >-rm -f $PERIODIC_ANTICONGESTION_FILE >+if [ $remove_periodic_anticongestion_file = "yes" ] ; then >+ rm -f $PERIODIC_ANTICONGESTION_FILE >+fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236564
: 202893