diff options
author | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 15:51:47 +0000 |
---|---|---|
committer | tv <tv@99302b65-d5f7-0310-b3dd-f8cd6f4e3d94> | 2008-03-05 15:51:47 +0000 |
commit | d8471989bf525ac5510f461e97334bf5dca85641 (patch) | |
tree | a8f9e71e014107349fbd277f2e7e8736b92dc8bd | |
parent | 24872ef166a6a231ce55d008f29a59ae1e7a863f (diff) | |
download | draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.gz draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.bz2 draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.tar.xz draksnapshot-d8471989bf525ac5510f461e97334bf5dca85641.zip |
(silentCheck) ligther check
git-svn-id: http://svn.mandriva.com/svn/soft/draksnapshot/trunk@238665 99302b65-d5f7-0310-b3dd-f8cd6f4e3d94
-rw-r--r-- | NEWS | 1 | ||||
-rwxr-xr-x | draksnapshot-applet | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,6 @@ - applet: o check only every 5s + o ligther check Version 0.3 - 6 March 2008, Thierry Vignaud diff --git a/draksnapshot-applet b/draksnapshot-applet index 09aa55a..ce95772 100755 --- a/draksnapshot-applet +++ b/draksnapshot-applet @@ -147,7 +147,7 @@ sub silentCheck() { # force refreshing cache: detect_devices::probeall_update_cache(); - @discs = grep { $_->{usb_bus} } detect_devices::hds(); + @discs = grep { $_->{usb_bus} && detect_devices::may_be_a_hd($_) } detect_devices::getSCSI(); go2State('okay') if !@discs; # are there any updates ? |