Changeset 1475 in MondoRescue
- Timestamp:
- May 31, 2007, 11:02:34 AM (18 years ago)
- Location:
- branches/2.2.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.4/mondo/src/common/libmondo-filelist.c
r1437 r1475 265 265 int retval = 0; 266 266 267 log_msg( 1, "Sorting file %s", orig_fname);267 log_msg(5, "Sorting file %s", orig_fname); 268 268 malloc_string(tmp_fname); 269 269 malloc_string(command); … … 272 272 273 273 if (!does_file_exist(orig_fname)) { 274 log_msg(2, "file %s empty", orig_fname); 274 275 return (0); 275 276 } // no sense in trying to sort an empty file … … 281 282 log_msg(2, "Failed to sort %s - oh dear", orig_fname); 282 283 } else { 283 log_msg( 2, "Sorted %s --> %s OK. Copying it back to %s now",284 log_msg(5, "Sorted %s --> %s OK. Copying it back to %s now", 284 285 orig_fname, tmp_fname, orig_fname); 285 286 sprintf(command, "mv -f %s %s", tmp_fname, orig_fname); 286 retval += run_program_and_log_output(command, 2);287 retval += run_program_and_log_output(command, 5); 287 288 if (retval) { 288 289 log_msg(2, "Failed to copy %s back to %s - oh dear", tmp_fname, 289 290 orig_fname); 290 291 } else { 291 log_msg( 2, "%s was sorted OK.", orig_fname);292 log_msg(5, "%s was sorted OK.", orig_fname); 292 293 } 293 294 } 294 295 paranoid_free(tmp_fname); 295 296 paranoid_free(command); 296 log_msg( 1, "Finished sorting file %s", orig_fname);297 log_msg(5, "Finished sorting file %s", orig_fname); 297 298 return (retval); 298 299 } -
branches/2.2.4/tools/mkqemu
r1470 r1475 6 6 # 7 7 8 if [ _"$1" = =_"" ]; then8 if [ _"$1" = _"" ]; then 9 9 echo "Syntax: qemu vm" 10 10 exit -1
Note:
See TracChangeset
for help on using the changeset viewer.