implemented the INVALID_TEXT exit value
This commit is contained in:
parent
32d5022b29
commit
7245b03a37
@ -26,7 +26,7 @@ outputFlags encryptText(char *text, char *keyNew, inputFlags flags)
|
||||
if (strcmp(text, "") == 0)
|
||||
{
|
||||
if (!flags.noOutput) fprintf(stderr, "No text to encrypt!\n");
|
||||
exit(1);
|
||||
exit(INVALID_TEXT);
|
||||
}
|
||||
|
||||
//VARIABLES
|
||||
|
Loading…
x
Reference in New Issue
Block a user