foreach $track ( @tracks )
{
- if ( not exists $track_hash{ $track->{ 'track' } } ) {
- push @new_tracks, $track;
- } else {
+ if ( $track->{ 'database' } eq $options->{ 'database' } and exists $track_hash{ $track->{ 'track' } } ) {
print STDERR qq(Removing track "$track->{ 'track' }" from config file.\n) if $options->{ 'verbose' };
+ } else {
+ push @new_tracks, $track;
}
}
$sid = $2;
$pid = $3;
+ next if $user eq "m.hansen";
+
if ( $user eq Maasha::Common::get_user() )
{
if ( not Maasha::Common::process_running( $pid ) )
elsif ( $pid == $curr_pid )
{
# print STDERR "Removing current dir: $dir\n";
- # Maasha::Common::dir_remove( $dir );
+ Maasha::Common::dir_remove( $dir );
}
}
}