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
Notes: sideshowbarker 2024-07-17 11:29:41 +09:00

View file

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