diff scripts/run_project.sh @ 85:91e1a3a220d4

Suppressed the no screen found warnings
author Giulio Moro <giuliomoro@yahoo.it>
date Fri, 17 Jul 2015 23:12:09 +0100
parents 3ada83df91a5
children d41631e0fe0e
line wrap: on
line diff
--- a/scripts/run_project.sh	Fri Jul 17 22:58:25 2015 +0100
+++ b/scripts/run_project.sh	Fri Jul 17 23:12:09 2015 +0100
@@ -42,7 +42,7 @@
 echo "Running BeagleRT..."
 if [ $RUN_IN_FOREGROUND -eq 0 ]
 then
-    ssh $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS"
+    ssh $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT -d -m $BBB_PATH/BeagleRT $COMMAND_ARGS"
 else
-    ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit ; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS"
+    ssh -t $BBB_ADDRESS "screen -X -S BeagleRT quit &>/dev/null; pkill BeagleRT ; sleep 0.5 ; screen -S BeagleRT $BBB_PATH/BeagleRT $COMMAND_ARGS"
 fi
\ No newline at end of file