~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/less-oops.sh

Added a utility for inspecting OOPSes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
#
 
3
# Copyright 2009 Canonical Ltd.  This software is licensed under the
 
4
# GNU Affero General Public License version 3 (see the file LICENSE).
 
5
#
 
6
# Outputs the contents of the OOPS report for a given OOPS ID.
 
7
 
 
8
OOPS_ID=$1
 
9
grep -rl "$OOPS_ID" /var/tmp/lperr* | xargs less