summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/anoperc9
-rw-r--r--version.log6
2 files changed, 12 insertions, 3 deletions
diff --git a/bin/anoperc b/bin/anoperc
index 1b2a4a803..76949da20 100755
--- a/bin/anoperc
+++ b/bin/anoperc
@@ -15,7 +15,7 @@ ANOPEBIN=""
ANOPROG="services"
# SCRIPT VERSION NUMBER (DO NOT ALTER)
-ARCVERSION="1.0"
+ARCVERSION="1.1"
################################################
@@ -42,6 +42,11 @@ if [ "$ANOPEBIN" = "" ] ; then
exit 1
fi
+if [ ! -f $ANOPEBIN$ANOPROG ] ; then
+ echo "Error: $ANOPEBIN$ANOPROG cannot be accessed"
+ exit 1
+fi
+
if [ "$1" = "start" ] ; then
if [ -f $ANOPEBIN$PIDFILE ] ; then
@@ -116,7 +121,7 @@ elif [ "$1" = "help" ] ; then
echo " For a list of type $0 $1 paramlist"
echo "$0 stop Shutdown Anope"
echo "$0 status Show Anope's Status"
- echo "$0 restart Restart Anope (Databases will be saved"
+ echo "$0 restart Restart Anope (Databases will be saved)"
echo "$0 rehash Rehash Configuration and Save Databases"
echo "$0 version Return Anope Version and Build Information"
echo "$0 help Show this help menu"
diff --git a/version.log b/version.log
index 390290925..4132fc48e 100644
--- a/version.log
+++ b/version.log
@@ -8,11 +8,15 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="2"
-VERSION_BUILD="78"
+VERSION_BUILD="79"
VERSION_EXTRA=""
# $Log$
#
+# BUILD : 1.7.2 (79)
+# BUGS :
+# NOTES : Added check to anoperc to see if paths work, and fixed one grammar error
+#
# BUILD : 1.7.2 (78)
# BUGS : N/A
# NOTES : Added the ability to add module data to the NickCore and the NickAlias structs