about summary refs log tree commit diff
path: root/examples/shell/disconnect-device.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shell/disconnect-device.sh')
-rwxr-xr-xexamples/shell/disconnect-device.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shell/disconnect-device.sh b/examples/shell/disconnect-device.sh
index 045d64d7..e8af42fc 100755
--- a/examples/shell/disconnect-device.sh
+++ b/examples/shell/disconnect-device.sh
@@ -61,7 +61,7 @@ disconnect_device ()
     fi
   done
 
-  echo "Device with interface '$1' not found."
+  echo "Device with interface '$1' not found." >&2
   return 1
 }
 
@@ -70,7 +70,7 @@ disconnect_device ()
 if [ ! -n "$1" ]; then
   echo "Usage: `basename $0` <interface name>"
   exit 2
-fi 
+fi
 
 # disconnect device
 disconnect_device $1