importfeed --relaxed: Avoid hitting the urls of items in the feed.

This commit is contained in:
Joey Hess 2015-08-19 12:24:55 -04:00
parent f30a7ccc42
commit 0f5d6c09ac
7 changed files with 16 additions and 4 deletions

View file

@ -138,8 +138,10 @@ probeCrippledFileSystem = do
createSymbolicLink f f2
nukeFile f2
preventWrite f
-- Should be unable to write to the file, but some crippled
-- Should be unable to write to the file, unless
-- running as root, but some crippled
-- filesystems ignore write bit removals.
unlessM
not <$> catchBoolIO (writeFile f "2" >> return True)
#endif