Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tails
tails
Commits
b6aad30b
Commit
b6aad30b
authored
Oct 21, 2014
by
Tails developers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tell grep to be quiet.
parent
097785df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
config/chroot_local-includes/usr/local/sbin/unsafe-browser
config/chroot_local-includes/usr/local/sbin/unsafe-browser
+1
-1
No files found.
config/chroot_local-includes/usr/local/sbin/unsafe-browser
View file @
b6aad30b
...
...
@@ -101,7 +101,7 @@ if [ -r "${NM_ENV_FILE}" ]; then
# is far from perfect, it serves our purpose here.
IP4_REGEX
=
'[0-9]\{1,3\}\(\.[0-9]\{1,3\}\)\{3\}'
NAMESERVERS_REGEX
=
"^IP4_NAMESERVERS=
\"
${
IP4_REGEX
}
\"
$"
if
grep
-v
"
${
NAMESERVERS_REGEX
}
"
"
${
NM_ENV_FILE
}
"
;
then
if
grep
-
q
v
"
${
NAMESERVERS_REGEX
}
"
"
${
NM_ENV_FILE
}
"
;
then
error
"
`
gettext
\"
NetworkManager passed us garbage data when trying to deduce the clearnet DNS server.
\"
`
"
fi
# Import the IP4_NAMESERVERS variable.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment