Skip to content

Commit

Permalink
fix root check
Browse files Browse the repository at this point in the history
  • Loading branch information
joehillen committed Sep 17, 2021
1 parent 42d45ab commit 9b3b716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sysz
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ _sysz_list_units() {
# main

# root doesn't have user units
if [[ $EUID -ne 0 ]]; then
if [[ $EUID -eq 0 ]]; then
MANAGERS=(system)
else
MANAGERS=(user system)
Expand Down

0 comments on commit 9b3b716

Please sign in to comment.