Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NEMSLinux committed Mar 17, 2024
1 parent 6d1bf1a commit 9d785ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debpack/DEBIAN/control
Expand Up @@ -4,7 +4,7 @@ Priority: required
Section: plugins
Maintainer: NEMS Linux <nems@category5.tv>
Architecture: all
Version: 1.6.068
Version: 1.6.069
Provides: nems-plugins
Description: NEMS Plugins for check commands within NEMS Linux
Depends: fuse, owfs, libow-perl, libnagios-plugin-perl | libmonitoring-plugin-perl, openjdk-11-jre-headless | openjdk-17-jre-headless, curl, jq, bc, wmic, 9590, iperf, iperf3, libswitch-perl, libio-socket-ssl-perl, monit
2 changes: 1 addition & 1 deletion debpack/usr/lib/nagios/plugins/check_pve
Expand Up @@ -128,7 +128,7 @@ check_proxmox_version() {

# Extract our Proxmox version
our_version=$(echo "$json_data" | jq -r '.data.pveversion' | cut -d'/' -f2)
our_version_decimal=$(echo "$version" | sed 's/\.[0-9]*$//')
our_version_decimal=$(echo "$our_version" | sed 's/\.[0-9]*$//')

# Check if our_version is a valid float number
if ! [[ "$our_version" =~ ^[0-9]+\.[0-9]+(\.[0-9]+)?$ ]]; then
Expand Down

0 comments on commit 9d785ab

Please sign in to comment.