1 Commits

Author SHA1 Message Date
Jay Larson
d4baa191d6 Declared $pid in snapinstall 2017-06-02 18:54:55 -05:00
2 changed files with 3 additions and 1 deletions

View File

@@ -89,7 +89,7 @@ use constant VERFILE => eval {
}
};
use constant {
VERSION => '0.10',
VERSION => '0.11',
SNAPDIR => TARGET . '/var/lib/snap',
PKGDIR => TARGET . '/var/lib/snap/packages',
INSTDIR => TARGET . '/var/lib/snap/installed',

View File

@@ -85,6 +85,8 @@ foreach my $package ( @$packages ) {
}
if ( $virtfs ) {
my $pid;
if ( $pid = fork() ) {
waitpid( $pid, 0 );
}