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
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
if [ "$EUID" != '0' ]; then
|
||||
echo 'error: you cannot perform this operation unless you are root.'
|
||||
if [ "$EUID" -ne 0 ]; then
|
||||
echo "error: you cannot perform this operation unless you are root."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue