Browse Source

Quote HADOOP_HOME so that it may contain spaces.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@400151 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 years ago
parent
commit
53210f7860
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/hadoop-daemon.sh

+ 1 - 1
bin/hadoop-daemon.sh

@@ -82,7 +82,7 @@ case $startStop in
     fi
 
     echo starting $command, logging to $log
-    nohup $HADOOP_HOME/bin/hadoop $command "$@" >& "$log" < /dev/null &
+    nohup "$HADOOP_HOME"/bin/hadoop $command "$@" >& "$log" < /dev/null &
     echo $! > $pid
     sleep 1; head "$log"
     ;;