Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177468596
D21318.1794498045.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
418 B
Referenced Files
None
Subscribers
None
D21318.1794498045.diff
View Options
Index: head/usr.sbin/periodic/periodic.sh
===================================================================
--- head/usr.sbin/periodic/periodic.sh
+++ head/usr.sbin/periodic/periodic.sh
@@ -84,7 +84,7 @@
# remove the file.
remove_periodic_anticongestion_file=no
fi
-if tty > /dev/null 2>&1; then
+if [ -t 0 ]; then
export PERIODIC_IS_INTERACTIVE=1
fi
tmp_output=`mktemp ${TMPDIR:-/tmp}/periodic.XXXXXXXXXX`
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 12, 3:40 PM (11 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41678541
Default Alt Text
D21318.1794498045.diff (418 B)
Attached To
Mode
D21318: periodic: replace "tty" with "test -t 0"
Attached
Detach File
Event Timeline