Skip to content

Commit 53f7f17

Browse files
authored
Can anything be more cumbersome than C++?
1 parent f5998fc commit 53f7f17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/runtime/runtime.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,8 @@ sqfs_err private_sqfs_stat(sqfs* fs, sqfs_inode* inode, struct stat* st) {
549549

550550
/* ================= End ELF parsing */
551551

552-
if (getenv("FUSERMOUNT_PROG") == NULL) {
552+
char* fusermount_prog = getenv("FUSERMOUNT_PROG");
553+
if (fusermount_prog == NULL) {
553554
char* new_prog = find_fusermount();
554555
if (new_prog != NULL) {
555556
setenv("FUSERMOUNT_PROG", new_prog, 1);

0 commit comments

Comments
 (0)