1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-14 08:34:57 +00:00

cat: Return a non-null value if an error occurred

This commit is contained in:
Lucas CHOLLET 2022-11-24 16:04:29 +01:00 committed by Tim Flynn
parent 71c9da90b6
commit 1944e8936d

View file

@ -45,5 +45,5 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
}
}
return 0;
return files.size() != paths.size();
}