mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 18:35:13 +00:00
Bytestrings need to be decoded. Just use UTF-8 here, since everyone should be using it. Also add a test case to catch this. The exception was: TypeError: cannot use a string pattern on a bytes-like object
6 lines
112 B
Bash
Executable file
6 lines
112 B
Bash
Executable file
#! /bin/bash
|
|
|
|
if [ "${1}" == "-P" ] && [ "${2}" != "" ]
|
|
then
|
|
echo "Permanent address: 23:00:00:00:00:00"
|
|
fi
|