diff options
-rwxr-xr-x | etc/rc.d/bhyve_coeus (renamed from bhyve_coeus) | 4 | ||||
-rwxr-xr-x | etc/rc.d/bhyve_linux (renamed from bhyve_linux) | 4 | ||||
-rwxr-xr-x | etc/rc.d/bhyve_test (renamed from bhyve_test) | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/bhyve_coeus b/etc/rc.d/bhyve_coeus index e6f443a..514616d 100755 --- a/bhyve_coeus +++ b/etc/rc.d/bhyve_coeus @@ -41,10 +41,10 @@ bhyve_status() local pid=$(ps axo pid,command | egrep "${vmname}.*\\(bhyve\\)" | awk '{print $1}') if [ ! -z $pid ];then - echo $name is running with pid $pid. 2>&1 + echo $name is running with pid $pid. 1>&2 return 0 else - echo $name is not running. + echo $name is not running. 1>&2 fi } diff --git a/bhyve_linux b/etc/rc.d/bhyve_linux index 117c0e7..08a0865 100755 --- a/bhyve_linux +++ b/etc/rc.d/bhyve_linux @@ -41,10 +41,10 @@ bhyve_status() local pid=$(ps axo pid,command | egrep "${vmname}.*\\(bhyve\\)" | awk '{print $1}') if [ ! -z $pid ];then - echo $name is running with pid $pid. 2>&1 + echo $name is running with pid $pid. 1>&2 return 0 else - echo $name is not running. + echo $name is not running. 1>&2 fi } diff --git a/bhyve_test b/etc/rc.d/bhyve_test index a20cf0f..afdcd0e 100755 --- a/bhyve_test +++ b/etc/rc.d/bhyve_test @@ -41,10 +41,10 @@ bhyve_status() local pid=$(ps axo pid,command | egrep "${vmname}.*\\(bhyve\\)" | awk '{print $1}') if [ ! -z $pid ];then - echo $name is running with pid $pid. 2>&1 + echo $name is running with pid $pid. 1>&2 return 0 else - echo $name is not running. + echo $name is not running. 1>&2 fi } |