summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-04-04 13:59:19 +0000
committerThierry Vignaud <tv@mageia.org>2013-04-04 13:59:19 +0000
commitc8a623918a052358d8c9444cc319b14e6f89c7a0 (patch)
treee48b102bd076f9b459c81bd480d9d8bd4f736fbc /tools
parent968ac5e7efed8a276996840503d61b9e366cd8da (diff)
downloaddrakx-backup-do-not-use-c8a623918a052358d8c9444cc319b14e6f89c7a0.tar
drakx-backup-do-not-use-c8a623918a052358d8c9444cc319b14e6f89c7a0.tar.gz
drakx-backup-do-not-use-c8a623918a052358d8c9444cc319b14e6f89c7a0.tar.bz2
drakx-backup-do-not-use-c8a623918a052358d8c9444cc319b14e6f89c7a0.tar.xz
drakx-backup-do-not-use-c8a623918a052358d8c9444cc319b14e6f89c7a0.zip
simplify
Diffstat (limited to 'tools')
-rwxr-xr-xtools/drakx-in-chroot2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/drakx-in-chroot b/tools/drakx-in-chroot
index 6b42f7217..43917fff7 100755
--- a/tools/drakx-in-chroot
+++ b/tools/drakx-in-chroot
@@ -118,7 +118,7 @@ mkdir_p("$dir/dev");
eval { cp_af($_, "$dir$_") } foreach qw(/dev/root);
#- if the DISPLAY is remote, we may need to resolve the name:
-eval { cp_af($_, "$SLASH_LOCATION$_") } foreach qw(/etc/resolv.conf);
+eval { cp_af('/etc/resolv.conf', "$SLASH_LOCATION$_") };
{
chomp(my $kernel_version = `uname -r`);