feat: removed toggle touchpad script. fix: bad root checks. style: replaced single quotes with double
This commit is contained in:
parent
ffa6111967
commit
afb38610f1
3 changed files with 4 additions and 11 deletions
|
@ -2,8 +2,8 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ "$EUID" == 0 ]; then
|
||||
echo 'error: cannot be root.'
|
||||
if [ "$EUID" -eq 0 ]; then
|
||||
echo "error: cannot be root."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue