forked from autogits/nodejs-common
Add fallback for update-alterntatives symlinks
OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-common?expand=0&rev=46
This commit is contained in:
parent
d5d95bd2a7
commit
da73788f4a
5
node.c
5
node.c
@ -70,7 +70,10 @@ int main(int argc, char *argv[])
|
|||||||
// if we want default version and not using update-alternatives
|
// if we want default version and not using update-alternatives
|
||||||
if (version == default_version)
|
if (version == default_version)
|
||||||
{
|
{
|
||||||
return libalts_exec_default(argv);
|
// should not return, and if it does, it probably means
|
||||||
|
// we should fall back to using node-default fallback.
|
||||||
|
libalts_exec_default(argv);
|
||||||
|
fputs("Falling back to using -default symlink.\n", stderr);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user