summaryrefslogtreecommitdiff
path: root/www/nift/files/patch-nsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'www/nift/files/patch-nsm.cpp')
-rw-r--r--www/nift/files/patch-nsm.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/nift/files/patch-nsm.cpp b/www/nift/files/patch-nsm.cpp
new file mode 100644
index 000000000000..63cf40647dae
--- /dev/null
+++ b/www/nift/files/patch-nsm.cpp
@@ -0,0 +1,11 @@
+--- nsm.cpp.orig 2024-01-13 12:54:06 UTC
++++ nsm.cpp
+@@ -1452,7 +1452,7 @@ int main(int argc, const char* argv[])
+ else if(cmd == "watch")
+ {
+ //ensures correct number of parameters given
+- if(noParams < 2 && noParams > 5)
++ if(noParams < 2 || noParams > 5)
+ return parError(noParams, argv, "2-5");
+
+ WatchList wl;