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:
parent
094bb2c1e8
commit
2e1c15baa3
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user