Fix logical error in question prerequisites

This commit is contained in:
T. R. Bernstein
2024-07-29 04:27:29 +02:00
parent 7488e8cbe5
commit d1f867e29f

View File

@@ -2,7 +2,7 @@
# vi: set ft=zsh tw=80 ts=2
function getQuestionsPrerequisites() {
[[ $(id -un) != root ]] || { lop -- -e 'System settings module requires root access to pose questions. Please run as root.'; return 11 }
[[ $(id -un) == root ]] || { lop -- -e 'System settings module requires root access to pose questions. Please run as root.'; return 11 }
}
function getExecPrerequisites() {