+2007-05-08 Guillem Jover <guillem@debian.org>
+
+ * scripts/update-alternatives.pl: Fix warning when executed w/o any
+ option.
+
2007-05-08 Guillem Jover <guillem@debian.org>
* Makefile.am (EXTRA_DIST): Rename debian/pseudo-tags to
}
}
-defined($aslavelink{$name}) && &badusage(sprintf(_g("name %s is both primary and slave"), $name));
+defined($name) && defined($aslavelink{$name}) &&
+ badusage(sprintf(_g("name %s is both primary and slave"), $name));
defined($alink) && $aslavelinkcount{$alink} &&
badusage(sprintf(_g("link %s is both primary and slave"), $alink));