mirror of
https://github.com/RGBCube/serenity
synced 2025-05-29 17:15:11 +00:00
cat: Return a non-null value if an error occurred
This commit is contained in:
parent
71c9da90b6
commit
1944e8936d
1 changed files with 1 additions and 1 deletions
|
@ -45,5 +45,5 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return files.size() != paths.size();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue