diff --git a/scripts/restore-fuse-mounts.pl b/scripts/restore-fuse-mounts.pl index 7c7ef1a..5d090b1 100755 --- a/scripts/restore-fuse-mounts.pl +++ b/scripts/restore-fuse-mounts.pl @@ -1,6 +1,8 @@ #!/usr/bin/perl -W use strict; +use CRS::Fuse::VDV; +use CRS::Fuse::TS; use CRS::Tracker::Client; use boolean; @@ -61,7 +63,7 @@ my $fuse = CRS::Fuse->new($props) or die 'Fuse lib is missing'; my $mntpath = $fuse->getMountPath($vid) or die 'Cannot get mount path'; print " creating directory '$mntpath' \n"; - qx / mkdir -p "$mntpath" / or die 'Cannot create mount directory'; + qx / mkdir -p "$mntpath" /; print " executing '$cmd'\n"; qx / $cmd /;