diff options
Diffstat (limited to 'frontend')
-rwxr-xr-x | frontend/cli/lb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/frontend/cli/lb b/frontend/cli/lb index a57577f94..a476640eb 100755 --- a/frontend/cli/lb +++ b/frontend/cli/lb @@ -18,6 +18,13 @@ DESCRIPTION="$(Echo 'utility to build live systems')" HELP="FIXME" USAGE="FIXME" +# Checking user account +if [ "$(id -u)" -ne "0" ] +then + Echo_error "need root privileges" + exit 1 +fi + case "${1}" in -h|--help) if [ -x "$(which man 2>/dev/null)" ] |