Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 302747 Details for
Bug 442749
salinfo_decode_all-0.5 prints the usage message 4 times
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL4 fix for this issue
442749.patch (text/plain), 786 bytes, created by
Prarit Bhargava
on 2008-04-17 13:29:49 UTC
(
hide
)
Description:
RHEL4 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2008-04-17 13:29:49 UTC
Size:
786 bytes
patch
obsolete
>diff -urNp salinfo-0.5.orig/salinfo-0.5/salinfo_decode_all salinfo-0.5/salinfo-0.5/salinfo_decode_all >--- salinfo-0.5.orig/salinfo-0.5/salinfo_decode_all 2008-04-17 08:44:57.000000000 -0400 >+++ salinfo-0.5/salinfo-0.5/salinfo_decode_all 2008-04-17 09:25:30.000000000 -0400 >@@ -1,4 +1,16 @@ >-/usr/sbin/salinfo_decode -t cmc -D $1 & >-/usr/sbin/salinfo_decode -t cpe -D $1 & >-/usr/sbin/salinfo_decode -t mca -D $1 & >-/usr/sbin/salinfo_decode -t init -D $1 & >+#!/bin/sh >+ >+if [ $# -ne 1 ]; then >+ echo "usage: $0 directory" >+ exit 1 >+fi >+ >+if [ -d $1 ]; then >+ /usr/sbin/salinfo_decode -t cmc -D $1 & >+ /usr/sbin/salinfo_decode -t cpe -D $1 & >+ /usr/sbin/salinfo_decode -t mca -D $1 & >+ /usr/sbin/salinfo_decode -t init -D $1 & >+else >+ echo "Directory $1 does not exist" >+ exit 1 >+fi
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 442749
: 302747