mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-02 14:29:23 +00:00
Adjust script_check_no_commands.patch for 2.00.
This commit is contained in:
parent
50f74fa5bb
commit
ef4ba45b27
@ -5,7 +5,7 @@ Origin: backport, http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revisi
|
||||
Author: Colin Watson <cjwatson@debian.org>
|
||||
Bug-Debian: http://bugs.debian.org/713886
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2013-06-25
|
||||
Last-Update: 2013-07-13
|
||||
|
||||
Index: b/Makefile.util.def
|
||||
===================================================================
|
||||
@ -79,7 +79,7 @@ Index: b/util/grub-script-check.c
|
||||
+ if (! found_cmd)
|
||||
+ {
|
||||
+ fprintf (stderr, _("Script contains no commands and will do nothing\n"),
|
||||
+ ctx.arguments.filename);
|
||||
+ arguments.filename);
|
||||
+ return 1;
|
||||
+ }
|
||||
|
||||
|
@ -196,7 +196,7 @@ main (int argc, char *argv[])
|
||||
if (! found_cmd)
|
||||
{
|
||||
fprintf (stderr, _("Script contains no commands and will do nothing\n"),
|
||||
ctx.arguments.filename);
|
||||
arguments.filename);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user