[Bug 405487] New: [Novell:NTS/supportconfig-plugins] nows does not get log files correctly.

https://bugzilla.novell.com/show_bug.cgi?id=405487 Summary: [Novell:NTS/supportconfig-plugins] nows does not get log files correctly. Product: openSUSE.org Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software AssignedTo: jrecord@novell.com ReportedBy: jrecord@novell.com QAContact: opensuse-communityscreening@forge.provo.novell.com Found By: Development The scripts checks: 87 if [ -d $GLOG ]; then 88 tail_log $(find $GLOG -type f | sort | grep -E '[[:digit:]]$' | tail -1) 89 fi However, it checks to see if log file is a directory (-d). It should check to see if it's a regular file (-f), or even a file with non-zero size (-s). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=405487 User jrecord@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=405487#c1 Jason Record <jrecord@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jrecord@novell.com AssignedTo|jrecord@novell.com |ragoddard@novell.com --- Comment #1 from Jason Record <jrecord@novell.com> 2008-07-01 13:13:30 MDT --- Assigning to Randy Goddard. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=405487 User ragoddard@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=405487#c2 Randall Goddard <ragoddard@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ragoddard@novell.com --- Comment #2 from Randall Goddard <ragoddard@novell.com> 2008-07-01 14:29:12 MDT --- - if [ -d $GLOG ]; then + if [ -s $GLOG ]; then -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.

https://bugzilla.novell.com/show_bug.cgi?id=405487 User ragoddard@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=405487#c3 Randall Goddard <ragoddard@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #3 from Randall Goddard <ragoddard@novell.com> 2008-07-01 14:29:48 MDT --- See fixes in comment #2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com