OCSInventory-NG / UnixAgent

This is the OCS unified agent for Unix operating systems
http://www.ocsinventory-ng.org/en/
GNU General Public License v2.0
89 stars 83 forks source link

Fix `--delaytime=seconds` CLI option definition (closes #426) #427

Closed eguaj closed 1 year ago

eguaj commented 1 year ago

Status

READY

Description

The current definition of the --delaytime does not specify that it requires a value (for specifying the delay in seconds). So, it is treated as a boolean option, and has a value of 1 irrespective of the value following the option.

This changes the definition to --delaytime=s so the value following the option is correctly set.

Related Issues

426

Todos

Test environment

General informations

Operating system : Linux Ubuntu 20.04, Linux Ubuntu 22.04 Perl version : v5.30.0, v5.34.0

OCS Inventory informations

Unix agent version : v2.10.0 (installed from http://deb.ocsinventory-ng.org/ubuntu/)

Deploy Notes

Impacted Areas in Application