The following changes were made
* Updated Makefile to get version from Snap.pm * Updated virtfs() in Snap.pm to properly check for dir with -d
This commit is contained in:
@@ -89,7 +89,7 @@ use constant VERFILE => eval {
|
||||
}
|
||||
};
|
||||
use constant {
|
||||
VERSION => '0.7',
|
||||
VERSION => '0.8',
|
||||
SNAPDIR => TARGET . '/var/lib/snap',
|
||||
PKGDIR => TARGET . '/var/lib/snap/packages',
|
||||
INSTDIR => TARGET . '/var/lib/snap/installed',
|
||||
@@ -832,7 +832,7 @@ sub virtfs {
|
||||
my $stat = 0;
|
||||
my $pid;
|
||||
|
||||
if ( ! -f $virtfs->{$fs}{'dir'} ) {
|
||||
if ( ! -d $virtfs->{$fs}{'dir'} ) {
|
||||
next;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user