Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167960007
D32570.id97201.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
544 B
Referenced Files
None
Subscribers
None
D32570.id97201.diff
View Options
Index: usr.sbin/freebsd-update/freebsd-update.sh
===================================================================
--- usr.sbin/freebsd-update/freebsd-update.sh
+++ usr.sbin/freebsd-update/freebsd-update.sh
@@ -1217,11 +1217,7 @@
# Fetch compare upstream tag (tag.new) to tag on disk
fetch_compare_new_tag_to_current_tag () {
- if [ -f tag.new -a -f tag ] && cmp -s tag.new tag; then
- return 0
- else
- return 1
- fi
+ [ -f tag.new -a -f tag ] && cmp -s tag.new tag
}
# Check that we have a public key with an appropriate hash, or
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 3:32 PM (4 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37245972
Default Alt Text
D32570.id97201.diff (544 B)
Attached To
Mode
D32570: freebsd-update: efficiently handle no updates in fetch
Attached
Detach File
Event Timeline
Log In to Comment