Fix typo in variable. Now tested on Solaris and Linux, with defaults.
authorhal9 <hal9@users.sourceforge.net>
Wed, 11 Sep 2002 01:15:02 +0000 (01:15 +0000)
committerhal9 <hal9@users.sourceforge.net>
Wed, 11 Sep 2002 01:15:02 +0000 (01:15 +0000)
privoxy-generic.init

index a6d07ae..dbf2203 100755 (executable)
@@ -39,6 +39,9 @@
 # 
 #  Revisions   :
 #     $Log: privoxy-generic.init,v $
+#     Revision 1.3  2002/09/11 01:09:14  hal9
+#     Better handling of pidfile, and process owner.
+#
 #     Revision 1.2  2002/09/08 20:27:58  hal9
 #     -Rewrote script config section.
 #     -Added comments to script.
@@ -94,7 +97,7 @@ case "$1" in
  start)
      if [ -f $P_PIDFILE ]; then
        if kill -0 `cat $P_PIDFILE`; then
-         echo "Error: $NAME is already running, exiting."
+         echo "Error: $P_NAME is already running, exiting."
          exit 1
        else
          rm -f $P_PIDFILE