diff options
Diffstat (limited to 'examples/shell/disconnect-device.sh')
| -rwxr-xr-x | examples/shell/disconnect-device.sh | 4 |
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 |