Opened 10 years ago

Closed 10 years ago

#502 closed defect (fixed)

Missing variable quoting in update-smart-drivedb

Reported by: tkaiser Owned by: Christian Franke
Priority: trivial Milestone: Release 6.4
Component: all Version: 6.3
Keywords: Cc:

Description

The update-smart-drivedb script (using version 6.3) does not quote the $SMARTCTL variable correctly in line 125 so when the path to smartctl contains whitespace execution will fail. Currently line 125 reads:

if $SMARTCTL -B "$DEST.new" -P showall >/dev/null; then :; else

Change History (2)

comment:1 by Christian Franke, 10 years ago

Owner: set to Christian Franke
Status: newaccepted

comment:2 by Christian Franke, 10 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.