Skip to content

Commit

Permalink
polish start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vinllen committed Jul 10, 2019
1 parent a388586 commit d27a49d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

catalog=$(dirname "$0")

cd "${catalog}"/../ || exit 1
cd "${catalog}" || exit 1

if [ $# != 1 ] ; then
echo "USAGE: $0 [conf]"
Expand All @@ -19,7 +19,7 @@ fi
GOMAXPROCS=0

if [ $GOMAXPROCS != 0 ] ; then
./hypervisor --daemon --exec="GOMAXPROCS=$GOMAXPROCS ./$name -conf=$1 2>&1 1>> $name.output" 1>>hypervisor.output 2>&1
./hypervisor --daemon --exec="GOMAXPROCS=$GOMAXPROCS ./$name -conf=$1 1>> $name.output 2>&1" 1>>hypervisor.output 2>&1
else
./hypervisor --daemon --exec="./$name -conf=$1 2>&1 1>> $name.output" 1>>hypervisor.output 2>&1
./hypervisor --daemon --exec="./$name -conf=$1 1>> $name.output 2>&1" 1>>hypervisor.output 2>&1
fi

0 comments on commit d27a49d

Please sign in to comment.