From 9d29f3285bc14e0678b264eef7e76bcfe3a7639f Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 22 Jun 2017 13:53:44 +0200 Subject: simplify: use //= where appropirate --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index 907a83bb..ef121029 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -212,7 +212,7 @@ sub readconf() { } } # special cases: - $::rpmdrake_options{'no-confirmation'} = $no_confirmation->[0] if !defined $::rpmdrake_options{'no-confirmation'}; + $::rpmdrake_options{'no-confirmation'} //= $no_confirmation->[0]; $Rpmdrake::init::default_list_mode = $tree_mode->[0] if ref $tree_mode && !$Rpmdrake::init::overriding_config; } -- cgit v1.2.1