wok-next diff ovz-web-panel/stuff/hardware_server.rb.u @ rev 17205

telepathy-glib: without gtk-doc (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 09 14:27:44 2014 +0200 (2014-10-09)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ovz-web-panel/stuff/hardware_server.rb.u	Thu Oct 09 14:27:44 2014 +0200
     1.3 @@ -0,0 +1,11 @@
     1.4 +--- ovz-web-panel-ori/app/models/hardware_server.rb	Fri Nov 19 18:54:08 2010
     1.5 ++++ ovz-web-panel/app/models/hardware_server.rb	Fri Dec 31 23:59:40 2010
     1.6 +@@ -174,7 +174,7 @@
     1.7 +   end
     1.8 +   
     1.9 +   def sync_backups
    1.10 +-    backups_list = rpc_client.exec('ls', "--block-size=M -s #{backups_dir}")['output']
    1.11 ++    backups_list = rpc_client.exec('ls', "-h -s #{backups_dir}")['output']
    1.12 +     backups_list = backups_list.split("\n")
    1.13 +     # remove totals line
    1.14 +     backups_list.shift