aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndrea Righi <[email protected]>2021-06-16 14:03:21 +0000
committerDavid S. Miller <[email protected]>2021-06-16 19:50:24 +0000
commit0fd158b89b50b3a31c97a639ff496e1c59686e97 (patch)
tree5b4e98dda4d59fbf1afb36d8f48928d6b6c2d759 /net/unix/af_unix.c
parentMerge branch 'net-packet-data-races' (diff)
downloadkernel-0fd158b89b50b3a31c97a639ff496e1c59686e97.tar.gz
kernel-0fd158b89b50b3a31c97a639ff496e1c59686e97.zip
selftests: net: veth: make test compatible with dash
veth.sh is a shell script that uses /bin/sh; some distro (Ubuntu for example) use dash as /bin/sh and in this case the test reports the following error: # ./veth.sh: 21: local: -r: bad variable name # ./veth.sh: 21: local: -r: bad variable name This happens because dash doesn't support the option "-r" with local. Moreover, in case of missing bpf object, the script is exiting -1, that is an illegal number for dash: exit: Illegal number: -1 Change the script to be compatible both with bash and dash and prevent the errors above. Signed-off-by: Andrea Righi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions