Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144838624
D45292.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
390 B
Referenced Files
None
Subscribers
None
D45292.diff
View Options
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -667,7 +667,7 @@
local report
local w
- if ! command -v pkg >/dev/null; then
+ if ! pkg -N 2>/dev/null; then
echo "Skipping kernel modules check. pkg(8) not present."
return
fi
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 14, 6:54 AM (8 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28691379
Default Alt Text
D45292.diff (390 B)
Attached To
Mode
D45292: freebsd-update: Correctly check if pkg(8) is present
Attached
Detach File
Event Timeline
Log In to Comment