nut: Fix checking for path before it exists
authorDaniel F. Dickinson <cshored@thecshore.com>
Wed, 10 Oct 2018 01:47:46 +0000 (21:47 -0400)
committerDaniel F. Dickinson <cshored@thecshore.com>
Mon, 19 Nov 2018 21:39:53 +0000 (16:39 -0500)
commit0a49d0ffbbe1081005a8307b0643b0048a217229
tree8384a456fbdc93d1da5633216761d161a2481834
parentdaa974cff0bef94c71277e703c32b3fd36f1411b
nut: Fix checking for path before it exists

The mechanism for making sure hotplug doesn't execute during forced shutdown
was interfering with initial start of hotplug script due to checking for path
that doesn't exist at initial start.  This fixes that and closes #6966.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
net/nut/files/30-libhid-ups.tail