diff options
Diffstat (limited to 'daemon/grub.c')
-rw-r--r-- | daemon/grub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/grub.c b/daemon/grub.c index 86e812e9..118771fa 100644 --- a/daemon/grub.c +++ b/daemon/grub.c @@ -34,7 +34,7 @@ do_grub_install (char *root, char *device) NEED_ROOT (-1); ABS_PATH (root, -1); - IS_DEVICE (device, -1); + RESOLVE_DEVICE (device, return -1); if (asprintf_nowarn (&buf, "--root-directory=%R", root) == -1) { reply_with_perror ("asprintf"); |