Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from pagdot/patch-1
Browse files Browse the repository at this point in the history
Fix regex  to remove nag message
  • Loading branch information
ironicbadger authored Jun 27, 2021
2 parents c48bdba + 58dc9a2 commit 319e7ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/remove-nag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- name: Modify line in file to remove nag message
replace:
path: /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js
regexp: "res === null \\|\\| res === undefined \\|\\| !res || res[\\s\\n]*\\.data\\.status\\.toLowerCase\\(\\) !== 'active'"
regexp: 'res === null \|\| res === undefined \|\| !res \|\| res[\s\n]*\.data\.status\.toLowerCase\(\) !== .active.'
replace: "false"
backup: yes
notify: restart pveproxy

0 comments on commit 319e7ec

Please sign in to comment.