Skip to content

Commit 6542817

Browse files
committed
refactoring
1 parent ba3db8b commit 6542817

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

usr/bin/apt-key-install

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sudo $0 $source_file $target_file" >&2
3434
exit 4
3535
fi
3636

37-
if ! sq cert lint --cert-file "$source_file"; then
37+
if ! sq cert lint --cert-file "$source_file" &>/dev/null; then
3838
exit 5
3939
fi
4040

@@ -50,7 +50,7 @@ if ! test -r "$target_file" ; then
5050
exit 6
5151
fi
5252

53-
if ! sq cert lint --cert-file "$target_file"; then
53+
if ! sq cert lint --cert-file "$target_file" &>/dev/null; then
5454
exit 7
5555
fi
5656

0 commit comments

Comments
 (0)