Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115642990
D45292.id138875.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.id138875.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
Sun, Apr 27, 11:12 AM (14 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17816747
Default Alt Text
D45292.id138875.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