[Pm-utils] [PATCH 09/12] Fixed stupid typo in disablehook.

Victor Lowther victor.lowther at gmail.com
Tue Mar 11 18:08:50 PDT 2008


---
 pm/functions.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pm/functions.in b/pm/functions.in
index c9ce8fc..af4e291 100644
--- a/pm/functions.in
+++ b/pm/functions.in
@@ -156,7 +156,7 @@ restartservice()
 
 disablehook()
 {
-	echo "${2:-${0$$*/}}" > "${STORAGEDIR}/disable_hook:${1##*/}"
+	echo "${2:-${0##*/}}" > "${STORAGEDIR}/disable_hook:${1##*/}"
 }
 
 savestate()
-- 
1.5.4.3



More information about the Pm-utils mailing list