xpp: astribank_is_starting: improve '-v' output

Do print a message if no semaphore exists. It means that either there
are no Astribanks, or existing Astribanks were already initialized.

Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
Oron Peled 2014-10-28 13:28:04 -04:00 committed by Tzafrir Cohen
parent 094bb2c1e8
commit 2e1c15baa3
1 changed files with 2 additions and 0 deletions

View File

@ -125,6 +125,8 @@ static int absem_detected(void)
if((absem = absem_get(0)) < 0) {
if(debug)
fprintf(stderr, "%s: absem does not exist\n", progname);
if(verbose)
printf("No Astribanks are initializing\n");
return absem;
}
if(debug)