init: Display an additional message when it detects a filesystem that allows writing to files whose write bit is not set.

This commit is contained in:
Joey Hess 2017-08-28 13:21:18 -04:00
parent 291d5bb471
commit db2a06b66f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
5 changed files with 40 additions and 12 deletions

View file

@ -147,7 +147,7 @@ runner = Just go
exitWith exitcode
runsubprocesstests opts (Just _) = isolateGitConfig $ do
ensuretmpdir
crippledfilesystem <- Annex.Init.probeCrippledFileSystem' tmpdir
crippledfilesystem <- annexeval $ Annex.Init.probeCrippledFileSystem' tmpdir
case tryIngredients ingredients (tastyOptionSet opts) (tests crippledfilesystem opts) of
Nothing -> error "No tests found!?"
Just act -> ifM act