summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2017-06-22 13:56:11 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2017-06-22 13:56:11 +0200
commitee66bde4e71d9b29bc59206fc60ce2c9404f3aec (patch)
tree3e2b5c077e5e61da0bc344f344c88584919a63ad
parentf43f615854cfdbf209cc673935e316b63deabdb6 (diff)
downloaddraklive-master.tar
draklive-master.tar.gz
draklive-master.tar.bz2
draklive-master.tar.xz
draklive-master.zip
simplify: use //= where appropirateHEADmaster
-rwxr-xr-xdraklive2
1 files changed, 1 insertions, 1 deletions
diff --git a/draklive b/draklive
index 27bbbde..96aed7c 100755
--- a/draklive
+++ b/draklive
@@ -1511,7 +1511,7 @@ sub copy_wizard {
my ($live) = @_;
MDV::Draklive::Config::complete_config($live);
- $live->{system}{vga_mode} = 788 if !defined $live->{system}{vga_mode};
+ $live->{system}{vga_mode} //= 788;
my $live_media = $live->{prefix}{live}{mnt} . $live->{prefix}{media}{mnt};
require interactive;