aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>1998-11-03 21:05:14 +0000
committerH. Peter Anvin <hpa@zytor.com>1998-11-03 21:05:14 +0000
commitec7f298383d65942782f5c0652e38331cb3a2633 (patch)
tree79ba1dbb21f02d9b19e646db285f2113d65a31c0 /samples
parentb275c465162438a72d95b7118376410ceb8f4850 (diff)
downloadautofs3-ec7f298383d65942782f5c0652e38331cb3a2633.tar.gz
autofs3-ec7f298383d65942782f5c0652e38331cb3a2633.tar.xz
autofs3-ec7f298383d65942782f5c0652e38331cb3a2633.zip
Null pointer fix for mount_smbfs.
Diffstat (limited to 'samples')
-rw-r--r--samples/rc.autofs2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/rc.autofs b/samples/rc.autofs
index 10bd1ad..4a6f638 100644
--- a/samples/rc.autofs
+++ b/samples/rc.autofs
@@ -110,7 +110,7 @@ function redhat()
case "$1" in
start)
# Check if the automounter is already running?
- if [ ! -f /var/lock/automount ]; then
+ if [ ! -f /var/lock/subsys/automount ]; then
echo 'Starting automounter: '
getmounts | sh
touch /var/lock/subsys/automount