Skip to content

Commit

Permalink
Can anything be more cumbersome than C++?
Browse files Browse the repository at this point in the history
  • Loading branch information
probonopd authored Nov 24, 2024
1 parent f5998fc commit 53f7f17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/runtime/runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,8 @@ sqfs_err private_sqfs_stat(sqfs* fs, sqfs_inode* inode, struct stat* st) {

/* ================= End ELF parsing */

if (getenv("FUSERMOUNT_PROG") == NULL) {
char* fusermount_prog = getenv("FUSERMOUNT_PROG");
if (fusermount_prog == NULL) {
char* new_prog = find_fusermount();
if (new_prog != NULL) {
setenv("FUSERMOUNT_PROG", new_prog, 1);
Expand Down

0 comments on commit 53f7f17

Please sign in to comment.