Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Whitman Huntley committed Sep 28, 2018
1 parent 5413e11 commit e165b21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion goaurum
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ _start() {
if [ ! -z $pid ] ; then echo "$1 appears to be already running at $pid." ; exit 0 ; fi
path=`grep "NAME=\"$1\"" $HOME/.aurumfile | perl -pe "s/^NAME=\"$1\":PATH=\"|\"$//g"`
cd $path
nohup ./.$1 &
rm './dat/logs/nohup.out' >> /dev/null 2>&1
nohup ./.$1 >./dat/logs/nohup.out 2>&1 &
if [ $? -ne 0 ] ; then echo "Failed to start up $1" ; else echo "Started up $1." ; fi
cd -
}
Expand Down

0 comments on commit e165b21

Please sign in to comment.