diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-04-09 23:05:42 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-09 23:05:42 +0200 |
commit | 18d9a4466ce1c622c13810e25ccf73ae937b1716 (patch) | |
tree | 563b91b6b2b19d31a786fb587737529c0c50e8c2 /gnu | |
parent | 9132b9bd72304e6fe659b3cb31700bdc49696caf (diff) | |
download | guix-18d9a4466ce1c622c13810e25ccf73ae937b1716.tar.gz |
daemon: Don't abort when $PATH is undefined.
* nix/nix-daemon/guix-daemon.cc (main): Check whether getenv ("PATH") returns NULL before blindly initializing 'search_path'. Before that 'guix-daemon' would abort when run in an environment where 'PATH' is undefined.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions