Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions init.d/codedeploy-agent
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# the deployment artifacts on to this instance.
### END INIT INFO


COMMAND=$1
RETVAL=0
[ -f /etc/profile ] && [ "`stat --format '%U %G' /etc/profile`" == "root root" ] && source /etc/profile

Expand Down Expand Up @@ -59,7 +59,7 @@ update() {
$INSTALLER auto #Update the agent
}

case "$1" in
case "$COMMAND" in
start)
start
;;
Expand Down