We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70c10db commit 7451f17Copy full SHA for 7451f17
overlaycheck/overlaycheck
@@ -58,7 +58,7 @@ while (@ARGV && $ARGV[0] =~ /^-/)
58
}
59
else
60
{
61
- error("Unknown option '$arg'");
+ fatal_error("Unknown option '$arg'");
62
63
64
@@ -76,7 +76,7 @@ while (@ARGV && $ARGV[0] =~ /^-/)
76
77
my $kerndir = `git rev-parse --show-toplevel 2>/dev/null`;
78
chomp($kerndir);
79
-error("This isn't a Linux repository") if (!-d "$kerndir/kernel");
+fatal_error("This isn't a Linux repository") if (!-d "$kerndir/kernel");
80
81
chdir($kerndir."/arch/arm/boot/dts");
82
@@ -699,3 +699,9 @@ sub error
699
print("* $_[0]\n");
700
$fail = 1;
701
702
+
703
+sub fatal_error
704
+{
705
+ error(@_);
706
+ exit(1);
707
+}
0 commit comments