summaryrefslogtreecommitdiffstats
path: root/sayhello.c
diff options
context:
space:
mode:
Diffstat (limited to 'sayhello.c')
-rw-r--r--sayhello.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sayhello.c b/sayhello.c
index 1f132df..b107f33 100644
--- a/sayhello.c
+++ b/sayhello.c
@@ -4,6 +4,9 @@
int main(int argc, const char *argv[]) {
int i;
+#ifdef DISABLE_PLUGINS
+ sayhello();
+#else
if (argc < 2)
errx(1, "usage: sayhello PLUGIN...");
@@ -24,6 +27,7 @@ int main(int argc, const char *argv[]) {
dlclose(handle);
}
+#endif
return 0;
}