From 94c449ca42bd29de2c2fd137945550fe110fcd17 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Tue, 1 Sep 2026 10:02:19 +0000 Subject: fix --- src/path.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/path.cc b/src/path.cc index 74e8a37..9e4a515 100644 --- a/src/path.cc +++ b/src/path.cc @@ -29,7 +29,7 @@ string path_unifier(const string &s, bool is_cmd) } // single word, use path - if (is_cmd && (s.find("/") == s.size())) + if (is_cmd && (s.find("/") == string::npos)) { string path = getenv("PATH"); size_t i = 0, j = 0, l = path.size(); -- cgit v1.3.1-4-g156e