summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-14 15:33:38 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-14 23:49:02 +0200
commit5975881687edff21251f28c9d1c22fe890268863 (patch)
treea21de732fb49ce868a310895ae98ecfcc61ea899 /gnu/services
parent24e752c097c7a5c5f716265ae00d83317e3c7481 (diff)
downloadguix-5975881687edff21251f28c9d1c22fe890268863.tar.gz
pull: Create ~/.config/guix if needed instead of bailing out gracelessly.
Previously 'guix pull' would just fail with "No such file or directory"
if ~/.config didn't already exist.

* guix/ui.scm (config-directory): Use 'mkdir-p' instead of 'mkdir'.
  Change the 'catch' handler to expect errors different from EEXIST.
Diffstat (limited to 'gnu/services')
0 files changed, 0 insertions, 0 deletions