Bug#498052: do not call hdparm with empty device list

2008-09-06 Thread Thomas Lange
Package: fai-client Version: 3.2.9 The subruotines task_setup() tries to detect all cdroms and then calls hdparm for every cdrom device. If this list is empty hdparm is called the wrong way is prints is long help. -- regards Thomas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a

Bug#498052: do not call hdparm with empty device list

2008-09-06 Thread Sebastian Harl
tags 498052 + patch thanks Hi, On Sat, Sep 06, 2008 at 07:02:09PM +0200, Thomas Lange wrote: The subruotines task_setup() tries to detect all cdroms and then calls hdparm for every cdrom device. If this list is empty hdparm is called the wrong way is prints is long help. The attached patch