summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--discover/grub2/builtins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/discover/grub2/builtins.c b/discover/grub2/builtins.c
index 0716276..7a5d867 100644
--- a/discover/grub2/builtins.c
+++ b/discover/grub2/builtins.c
@@ -178,6 +178,7 @@ static bool builtin_test_op(int argc, char **argv, int *consumed)
}
}
+ op = argv[0];
*consumed = 1;
return strlen(op) > 0;
}
OpenPOWER on IntegriCloud