File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -240,8 +240,10 @@ void NUTAgent::advertisePhysics()
240
240
if (device.second .hasProperty (" status.ups" )) {
241
241
std::string status_s = device.second .property (" status.ups" );
242
242
if (!status_s.empty () // fix IPMVAL-1889 (empty on data-stale)
243
+ && status_s != " WAIT" // fix when waiting for the driver response to dumpcmd
243
244
&& device.second .subtype () != " epdu" ) // ups.status doesn't make sense for epdu
244
245
{
246
+
245
247
std::string test_s = (device.second .hasProperty (" ups.test.result" )
246
248
? device.second .property (" ups.test.result" )
247
249
: " no test initiated" );
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Build-Depends: debhelper (>= 9),
27
27
fty-cmake-dev,
28
28
libcidr-dev,
29
29
libnutclient-dev,
30
+ libnutclientstub-dev,
30
31
libczmq-dev,
31
32
libmlm-dev,
32
33
libcxxtools-dev,
You can’t perform that action at this time.
0 commit comments