added failglop and LC_ALL
This commit is contained in:
parent
88b0833a27
commit
eafdc2c98d
10 changed files with 33 additions and 10 deletions
2
webcam
2
webcam
|
@ -1,6 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
# docstring=open the webcam or v4l2 /dev/video* device
|
||||
set -E -o pipefail
|
||||
shopt -s failglob
|
||||
export LC_ALL=C.UTF8
|
||||
|
||||
if [[ "-h" == "$1" ]]; then
|
||||
echo "-l list devices"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue