diff options
-rw-r--r-- | efi-sync | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ require_efi () { } require_root () { - if [[ $USER != "root" ]]; then + if [[ "$(id --user --name)" != "root" ]]; then log "command must be run as root" exit 1 fi |