Code cleanup

This commit is contained in:
Pierre Pronchery 2009-10-20 14:04:24 +00:00
parent 030b712b3d
commit 83ba791afe

View File

@ -1,5 +1,5 @@
/* $Id$ */ /* $Id$ */
/* Copyright (c) 2007 Pierre Pronchery <khorben@defora.org> */ /* Copyright (c) 2009 Pierre Pronchery <khorben@defora.org> */
/* This file is part of DeforaOS Unix utils */ /* This file is part of DeforaOS Unix utils */
/* utils is not free software; you can redistribute it and/or modify it under /* utils is not free software; you can redistribute it and/or modify it under
* the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 * the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0
@ -89,5 +89,5 @@ int main(int argc, char * argv[])
} }
if(optind == argc) if(optind == argc)
return _usage(); return _usage();
return _kill(sig, argc - optind, &argv[optind]) == 0 ? 0 : 2; return (_kill(sig, argc - optind, &argv[optind]) == 0) ? 0 : 2;
} }