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:
commit
34788abedf
3
dist/tools/sliptty/start_network.sh
vendored
3
dist/tools/sliptty/start_network.sh
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user