summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emulators/linux_base/pkg-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/linux_base/pkg-install b/emulators/linux_base/pkg-install
index 5870edf05835..434e9c261578 100644
--- a/emulators/linux_base/pkg-install
+++ b/emulators/linux_base/pkg-install
@@ -3,7 +3,7 @@
case "$2" in
PRE-INSTALL)
- if [ -z "`kldstat -v | grep -E 'linux(aout|elf)'`" ]; then
+ if [ -z "`kldstat -v | grep linux`" ]; then
echo 'Linux mode is not enabled.'
echo 'Loading linux kernel module now...'
if ! kldload linux; then