Update bin/admin/check_uid_gid_collisions.pl

Co-authored-by: Adrien Barreau <adrien.barreau@live.fr>
This commit is contained in:
Stéphane Lesimple 2023-10-02 14:10:35 +02:00 committed by Stéphane Lesimple
parent a468220df7
commit 7934b6283b

View file

@ -34,7 +34,7 @@ if (!$masterGroupFile || !$masterPasswdFile || !$outputFile) {
die "Usage: $0 --master-passwd PATH --master-group PATH --output FILE [--local-passwd PATH --local-group PATH]\n";
}
if (-e $outputFile && !-c $outputFile) {
if (-e $outputFile && !-c _) {
die "Output file '$outputFile' already exists!\n";
}