Skip to content

Commit aca2b53

Browse files
committed
WM (Linux): fix a copy-paste error
1 parent c79b67e commit aca2b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/detection/wm/wm_linux.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ static const char* getOpenbox(FFstrbuf* result)
243243

244244
if (ffProcessAppendStdOut(result, (char* const[]){
245245
path.chars,
246-
"-version",
246+
"--version",
247247
NULL
248248
}) == NULL)
249249
{ // Openbox 3.6.1\n...
@@ -252,7 +252,7 @@ static const char* getOpenbox(FFstrbuf* result)
252252
return NULL;
253253
}
254254

255-
return "Failed to run command `fvwm -version`";
255+
return "Failed to run command `openbox --version`";
256256
}
257257

258258
const char* ffDetectWMVersion(const FFstrbuf* wmName, FFstrbuf* result, FF_MAYBE_UNUSED FFWMOptions* options)

0 commit comments

Comments
 (0)