diff --git a/bin/epitest b/bin/epitest index e28648b..d45992e 100755 --- a/bin/epitest +++ b/bin/epitest @@ -1,4 +1,5 @@ #!/usr/bin/bash +set -e if [ "$EUID" -ne 0 ]; then echo "error: you cannot perform this operation unless you are root." diff --git a/bin/mouse_360 b/bin/mouse_360 index 97dbf85..34c5510 100755 --- a/bin/mouse_360 +++ b/bin/mouse_360 @@ -1,4 +1,5 @@ #!/usr/bin/bash +set -e # counts target = 8182 ~ 25cm diff --git a/bin/toggle-touchpad b/bin/toggle-touchpad index b03e5da..75eceec 100755 --- a/bin/toggle-touchpad +++ b/bin/toggle-touchpad @@ -1,4 +1,5 @@ #!/usr/bin/bash +set -e device="PNP0C50:0e 06CB:7E7E Touchpad" diff --git a/bin/virt-manager-launcher b/bin/virt-manager-launcher index 8f5518f..7ec1d2b 100755 --- a/bin/virt-manager-launcher +++ b/bin/virt-manager-launcher @@ -1,5 +1,4 @@ #!/usr/bin/bash - set -e if [ "$EUID" -eq 0 ]; then