Skip to content

Commit

Permalink
sys: fix gathering of information about loaded modules.
Browse files Browse the repository at this point in the history
cut is in /usr/bin actually.
  • Loading branch information
intrigeri committed May 15, 2011
1 parent d32cc23 commit 49a5c56
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ version 0.9.9 -- UNRELEASED
. Do arithmetic using bash rather than bc (Closes: #603173)
sys:
. Fix hwinfo (Closes: #625501)
. Fix gathering of information about loaded modules:
cut is in /usr/bin actually.
tar:
. Install by default. (Closes Redmine bug #2907)
helper changes
Expand Down
2 changes: 1 addition & 1 deletion handlers/sys.in
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ STATUS="Getting kernel version:"
catifexec "/bin/uname" "-a"
STATUS="Checking module information:"
catifexec "/sbin/lsmod"
for x in $(/sbin/lsmod | /bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null
for x in $(/sbin/lsmod | /usr/bin/cut -f1 -d" " 2>/dev/null | /bin/grep -v Module 2>/dev/null
) ; do
STATUS="Checking module information $x:"
catifexec "/sbin/modinfo" "$x"
Expand Down

0 comments on commit 49a5c56

Please sign in to comment.