diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-01 09:33:26 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2017-03-01 09:33:26 -0700 |
commit | ab1c5b31639a1e878ec20879e9fbace82362fd6e (patch) | |
tree | 147700ec883c6363d19204bd7056240866ddbd0f | |
parent | a5649fd836eae52d0776f317967d0db01b60f452 (diff) | |
download | sscan-ab1c5b31639a1e878ec20879e9fbace82362fd6e.tar.gz |
better error on scanimage failure
-rw-r--r-- | Main.hs | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -122,7 +122,9 @@ scanPage st dir = withFile outF WriteMode $ \outH -> do ExitSuccess -> return True ExitFailure c -> do putStrLn $ "scanimage exited with exit code" ++ show c ++ "!" - putStrLn "press any key to abort this scanning session" + putStrLn "This might because sscan tried to use an option that your" + putStrLn "scanner does not support. Please try another preset." + putStrLn "Press any key to abort this scanning session..." void getChar return False where |