Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F136521588
D21318.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
418 B
Referenced Files
None
Subscribers
None
D21318.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
Wed, Nov 19, 4:02 AM (5 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25591739
Default Alt Text
D21318.diff (418 B)
Attached To
Mode
D21318: periodic: replace "tty" with "test -t 0"
Attached
Detach File
Event Timeline
Log In to Comment