Permalink
Browse files

Avoid uninitialized warning when $arch is not defined (#69)

  • Loading branch information...
rengolin authored and bensallen committed Aug 29, 2017
1 parent a1751fc commit 74ad08d65c5ac20b5a4a99669e38eb1c0074df69
Showing with 1 addition and 1 deletion.
  1. +1 −1 provision/lib/Warewulf/Provision/Pxe.pm
@@ -169,8 +169,8 @@ update()
my $bootstrapname;
my $arch = $nodeobj->arch();
if (! $arch) {
&dprint("No arch defined for node $nodename, using local system: $arch");
(undef, undef, undef, undef, $arch) = POSIX::uname();
&dprint("No arch defined for node $nodename, using local system: $arch");
}
if (! $db_id) {

0 comments on commit 74ad08d

Please sign in to comment.