diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2017-06-22 13:53:44 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2018-09-13 13:05:06 +0200 |
commit | 9d29f3285bc14e0678b264eef7e76bcfe3a7639f (patch) | |
tree | 5514fa776ac11d74d4bf725a9ea1652ab0495965 | |
parent | e2f4090dcf33f62ca5bc0153354889d13b200a30 (diff) | |
download | rpmdrake-9d29f3285bc14e0678b264eef7e76bcfe3a7639f.tar rpmdrake-9d29f3285bc14e0678b264eef7e76bcfe3a7639f.tar.gz rpmdrake-9d29f3285bc14e0678b264eef7e76bcfe3a7639f.tar.bz2 rpmdrake-9d29f3285bc14e0678b264eef7e76bcfe3a7639f.tar.xz rpmdrake-9d29f3285bc14e0678b264eef7e76bcfe3a7639f.zip |
simplify: use //= where appropirate
-rw-r--r-- | rpmdrake.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |