diff options
Diffstat (limited to 'core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc')
-rw-r--r-- | core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc index 6dd226de..82197309 100644 --- a/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc +++ b/core/modules/vmware-common/data/opt/openslx/vmchooser/plugins/vmware/includes/write_final_vmx.inc @@ -344,9 +344,7 @@ write_final_vmx() { END { for (k in a) printf "%s = %s\n", k, a[k]; }' "${TMPCONFIG}" > "${TMPCONFIG}.tmp" \ - && mv -f "${TMPCONFIG}.tmp" "${TMPCONFIG}" - - sort -o "${TMPCONFIG}" "${TMPCONFIG}" + && sort "${TMPCONFIG}.tmp" > "${TMPCONFIG}" # At last: Let's copy it to $VM_CONF_DIR/run-vmware.conf if cp -p "${TMPCONFIG}" "${VM_RUN_FILE}"; then |