Skip to content

Commit 54967b4

Browse files
committed
optimized
1 parent 7994b29 commit 54967b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/self_exe_path/getexepath.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,8 @@ int main(__attribute__((unused)) int argc, char* argv[]) {
126126
return -1;
127127
}
128128

129-
if (chdir("/usr/local") == -1) {
130-
perror("/usr/local");
129+
if (chdir("/usr/") == -1) {
130+
perror("/usr/");
131131
return -1;
132132
}
133133

0 commit comments

Comments
 (0)