wok-4.x diff ovz-web-panel/stuff/hardware_server.rb.u @ rev 11069

Up: bridge-utils to 1.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 01:02:33 2011 +0000 (2011-10-17)
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	Mon Oct 17 01:02:33 2011 +0000
     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