bankd: Don't consume 100% CPU in main thread

Change-Id: I4586a4c00fcdd4540f84caa005d2f116a63aa59c
This commit is contained in:
Harald Welte 2018-08-16 14:43:50 +02:00
parent 12534e776d
commit 7f684a0021
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ int main(int argc, char **argv)
while (1) { while (1) {
if (terminate) if (terminate)
break; break;
sleep(1);
} }
talloc_free(bankd); talloc_free(bankd);