diff --git a/xCAT-server/lib/perl/xCAT/ADUtils.pm b/xCAT-server/lib/perl/xCAT/ADUtils.pm index ea2a115c9..6ec396fbb 100644 --- a/xCAT-server/lib/perl/xCAT/ADUtils.pm +++ b/xCAT-server/lib/perl/xCAT/ADUtils.pm @@ -146,7 +146,7 @@ sub delete_user_account { #provide enough data to construct an /etc/passwd looki my $directoryserver = $args{directoryserver}; my $dnsdomain = $args{dnsdomain}; my $username = $args{username}; - unless ($dnsdomain and $directoryserver $username) { + unless ($dnsdomain and $directoryserver and $username) { die "Invalid arguments"; } }