Skip to content

Commit b9e0d07

Browse files
committed
remove -p option, not needed
1 parent 95d8808 commit b9e0d07

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

cvmfs-config-osgd

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
#!/bin/bash
2-
# This is intended to be run as a daemon in order to keep a
3-
# CVMFS configuration repository mounted indefinitely on Debian.
2+
# This is intended to be run as a daemon in order to keep a CVMFS
3+
# configuration repository mounted indefinitely on Debian.
44
# It is to work around the fact that Debian's autofs does not allow
55
# recursive mounts.
66
ME="`basename $0`"
77
usage()
88
{
9-
echo "Usage: $ME [-p pidfile] directory_to_mount" >&2
9+
echo "Usage: $ME directory_to_mount" >&2
1010
exit 1
1111
}
1212

13-
if [ "$1" = "-p" ] && [ -n "$2" ]; then
14-
echo $$ >$2
15-
shift 2
16-
fi
17-
if [ -z "$1" ]; then
13+
if [ $# != 1 ]; then
1814
usage
1915
fi
2016
set -e

0 commit comments

Comments
 (0)