audit: make use of remaining sleep time from wait_for_auditd
authorRichard Guy Briggs <rgb@redhat.com>
Mon, 16 Sep 2013 14:45:59 +0000 (10:45 -0400)
committerEric Paris <eparis@redhat.com>
Tue, 14 Jan 2014 03:27:53 +0000 (22:27 -0500)
commitae887e0bdcddb9d7acd8f1eb7b7795b438aa4950
tree9695e92b2c51170e3075a9bf1d06d9e464acdf01
parente789e561a50de0aaa8c695662d97aaa5eac9d55f
audit: make use of remaining sleep time from wait_for_auditd

If wait_for_auditd() times out, go immediately to the error function rather
than retesting the loop conditions.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c