You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ed...@apache.org on 2012/09/26 00:16:50 UTC

[11/19] git commit: CLOUDSTACK-81: Fix typo in function name for script in fedora

CLOUDSTACK-81: Fix typo in function name for script in fedora

Patch fixes typo in function name, in start() for the script used for fedora

Signed-off-by: Rohit Yadav <ro...@citrix.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/e1953672
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/e1953672
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/e1953672

Branch: refs/heads/4.0
Commit: e195367260e8c40da06d8971a1e3e545b7773e7b
Parents: 16789a5
Author: Rohit Yadav <ro...@citrix.com>
Authored: Tue Sep 25 17:10:49 2012 +0530
Committer: Edison Su <su...@gmail.com>
Committed: Tue Sep 25 15:06:41 2012 -0700

----------------------------------------------------------------------
 .../fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/e1953672/usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in
----------------------------------------------------------------------
diff --git a/usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in b/usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in
index 69f1b2c..516a842 100755
--- a/usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in
+++ b/usage/distro/fedora/SYSCONFDIR/rc.d/init.d/cloud-usage.in
@@ -79,7 +79,7 @@ start() {
 
     echo -n "Starting $PROGNAME" "$SHORTNAME"
 
-    if start_daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" -errfile SYSLOG -Dpid=$$ $CLASS
+    if daemon -p $PIDFILE $DAEMON -cp "$CLASSPATH" -pidfile "$PIDFILE" -user "$USER" -errfile SYSLOG -Dpid=$$ $CLASS
         RETVAL=$?
     then
         rc=0