aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index 975fe72..c6f75cb 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4446,7 +4446,11 @@ static void show_help(const char *path)
}
if (g_state.fortune && getutil("fortune"))
+#ifndef __HAIKU__
pipetof("fortune -s", fp);
+#else
+ pipetof("fortune", fp);
+#endif
start = end = helpstr;
while (*end) {