Skip to content

Commit

Permalink
Fix directory creation warning when we tell Epoch to shut up about it.
Browse files Browse the repository at this point in the history
…Fixes #20
  • Loading branch information
Subsentient committed Oct 20, 2015
1 parent 766e988 commit 141482e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/actions.c
Expand Up @@ -55,7 +55,11 @@ static void MountVirtuals(void)
char TmpBuf[1024];

snprintf(TmpBuf, sizeof TmpBuf, "Failed to create directory for %s!", MountLocations[Inc]);
SpitWarning(TmpBuf);
WriteLogLine(TmpBuf, true);
if (!(AutoMountOpts[Inc] & MOUNTVIRTUAL_NOERROR))
{
SpitWarning(TmpBuf);
}
} /*No continue statement because it might already exist*/
} /*and we might be able to mount it anyways.*/

Expand Down

1 comment on commit 141482e

@Subsentient
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also added a missing call to WriteLogLine().

Please sign in to comment.