summaryrefslogtreecommitdiffstats
path: root/install/autodetect
diff options
context:
space:
mode:
Diffstat (limited to 'install/autodetect')
-rw-r--r--install/autodetect2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/autodetect b/install/autodetect
index e52220e..eba31d3 100644
--- a/install/autodetect
+++ b/install/autodetect
@@ -23,7 +23,7 @@ install ()
if [ $UID -eq 0 -o "$(groups | grep disk)" != "" ]; then
for fs in $(findfs | sort | uniq); do
for mod in $(find "${MODULEDIR}" -type f -name "${fs}.ko"); do
- if [ "x${mod}" != "x" ]; then
+ if [ -n "${mod}" ]; then
AUTODETECT="${AUTODETECT} ${mod}"
fi
done