From 385827763545e7cb5ba4ea2552e4a05831eb8c4c Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 3 Oct 2000 12:54:40 +0000 Subject: *** empty log message *** --- perl-install/live_install | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'perl-install/live_install') diff --git a/perl-install/live_install b/perl-install/live_install index a98583690..74b4ff9c9 100755 --- a/perl-install/live_install +++ b/perl-install/live_install @@ -1,5 +1,10 @@ #!/bin/sh +if [ "$UID" -ne 0 ]; then + echo >&2 "you need to be root to start live install" + exit 3 +fi + if [ -x ./Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then dir=`pwd`/Mandrake/mdkinst elif [ -x ../../../../../Mandrake/mdkinst/usr/bin/perl-install/live_install2 ]; then -- cgit v1.2.1