File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -528,9 +528,9 @@ int main(int argc, char *argv[]) {
528
528
* functionality specifically for builds used by appimaged.
529
529
*/
530
530
if (getenv ("TARGET_APPIMAGE" ) == NULL ) {
531
- // for some reason, `fopen("/proc/self/exe", "rb")` tries to open
532
- // the dynamic linker when running under gcompat , even though `readlink()`
533
- // gives the right result, so use `readlink()` here
531
+ // when running under gcompat (e.g. on Alpine Linux),
532
+ // `fopen("/proc/self/exe", "rb")` tries to open the dynamic linker, even
533
+ // though `readlink()` gives the right result, so use `readlink()` here
534
534
ssize_t len = readlink ("/proc/self/exe" , appimage_path , sizeof (appimage_path ));
535
535
if (len < 0 ) {
536
536
perror ("Failed to obtain AppImage path" );
You can’t perform that action at this time.
0 commit comments