summaryrefslogtreecommitdiffstats
path: root/meta/packages/linux-hotplug/linux-hotplug-20040920/isapnp-exit.diff
blob: e5a9ab10af486438fc8f481368c6b74ae6f0a017 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- hotplug-2004_09_20/etc/hotplug/isapnp.rc.orig	2004-12-20 15:01:21.541446000 +0100
+++ hotplug-2004_09_20/etc/hotplug/isapnp.rc	2004-12-20 15:01:32.625760928 +0100
@@ -13,7 +13,7 @@
 #
 
 # only 2.6 kernels are supported
-[ -d /sys/bus/pnp/devices/ ] || return 0
+[ -d /sys/bus/pnp/devices/ ] || exit 0
 
 cd /etc/hotplug
 . ./hotplug.functions