Adjust script_check_no_commands.patch for 2.00.

This commit is contained in:
Colin Watson 2013-07-13 11:02:43 +01:00
parent 50f74fa5bb
commit ef4ba45b27
2 changed files with 3 additions and 3 deletions

View File

@ -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;
+ }

View File

@ -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;
}