소스 검색

fixed regex in provision.pl

tags/release-00
gashapwn 3 년 전
부모
커밋
e471a97a13
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      perl-script/provision.pl

+ 1
- 1
perl-script/provision.pl 파일 보기

@@ -10,7 +10,7 @@ my $admin_un;

# Check /etc/passwd for the username created during
# installation
if( ($admin_un) = `tail /etc/passwd` =~ /^([^:]+):[^:]+:[0-9]{4,}/){
if( ($admin_un) = `tail /etc/passwd` =~ /([^:]+):[^:]+:[0-9]{4,}/){
printf("admin user will be set to %s\n", $admin_un);
}else{
die "create a non-root user & set user passsword before running this script."


불러오는 중...
취소
저장