Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
equiman committed Nov 9, 2017
2 parents 119775d + 7a77c2c commit c5927ad
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dev/mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ function fxDebug() {
}

function fxIsRunning() {
number="$(ps aux | grep ./HardHat | wc -l)"

if [ $number -gt 0 ]; then
instance="$(pgrep HardHat)"
if [ -n "${instance}" ]; then
fxStop
else
fxRun
Expand Down

0 comments on commit c5927ad

Please sign in to comment.