Skip to content

Commit 2af49a2

Browse files
committed
Improve logging around preload library
1 parent 099ed8c commit 2af49a2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/binfmt-bypass/lib.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,11 +238,13 @@ int bypassBinfmtAndRunAppImage(const std::string& appimage_path, const std::vect
238238
// preload our library
239239
auto preload_lib_path = find_preload_library(is_32bit_elf(appimage_path));
240240

241+
log_debug("preload lib path: %s\n", preload_lib_path.string().c_str());
242+
241243
// may or may not be used, but must survive until this application terminates
242244
std::unique_ptr<TemporaryPreloadLibFile> temporaryPreloadLibFile;
243245

244246
if (!std::filesystem::exists(preload_lib_path)) {
245-
log_warning("could not find preload library path, creating new temporary file for it\n");
247+
log_warning("could not find preload library, creating new temporary file for it\n");
246248

247249
#ifdef PRELOAD_LIB_NAME_32BIT
248250
if (is_32bit_elf(appimage_path)) {

0 commit comments

Comments
 (0)