summaryrefslogtreecommitdiffstats
path: root/daemon/grub.c
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/grub.c')
-rw-r--r--daemon/grub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/grub.c b/daemon/grub.c
index 118771fa..8fcd911d 100644
--- a/daemon/grub.c
+++ b/daemon/grub.c
@@ -33,7 +33,7 @@ do_grub_install (char *root, char *device)
char *buf;
NEED_ROOT (-1);
- ABS_PATH (root, -1);
+ ABS_PATH (root, return -1);
RESOLVE_DEVICE (device, return -1);
if (asprintf_nowarn (&buf, "--root-directory=%R", root) == -1) {