Skip to content

Commit

Permalink
Mute unneeded outputs from up/down check
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredmorrow committed Apr 17, 2013
1 parent 011a403 commit d9530b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priv/base/env.sh
Expand Up @@ -105,7 +105,7 @@ check_user() {

# Function to validate the node is down
node_down_check() {
MUTE=`ping_node`
MUTE=`ping_node 2> /dev/null`
if [ "$?" -eq 0 ]; then
echoerr "Node is already running!"
exit 1
Expand All @@ -114,7 +114,7 @@ node_down_check() {

# Function to validate the node is up
node_up_check() {
MUTE=`ping_node`
MUTE=`ping_node 2> /dev/null`
if [ "$?" -ne 0 ]; then
echoerr "Node is not running!"
exit 1
Expand Down

0 comments on commit d9530b3

Please sign in to comment.