1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #13618 from janosbrodbeck/pr/sliptty_shift_fix

sliptty/start_network.sh: fix if no argument is given
This commit is contained in:
Martine Lenders 2020-03-11 19:07:27 +01:00 committed by GitHub
commit 34788abedf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -119,12 +119,11 @@ while getopts ehI: opt; do
done
PREFIX="$1"
shift
if [ -z "$PREFIX" ]; then
usage $0
exit 1
fi
shift
create_tun && \
if [ ${SLIP_ONLY} -ne 1 ]; then