diff options
-rw-r--r-- | drakpxelinux.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drakpxelinux.pl b/drakpxelinux.pl index 39a6bdf..12cc4c1 100644 --- a/drakpxelinux.pl +++ b/drakpxelinux.pl @@ -715,7 +715,7 @@ sub enable_tftps { } sub memlinux_prep { - if (!-f $network::pxe::pxelinux_client_root . "/memdisk") { + if (!-f ($network::pxe::pxelinux_client_root . "/memdisk")) { cp_af($MEMDISK, $network::pxe::pxelinux_client_root); } } @@ -786,7 +786,7 @@ sub add_columns { ############### # check if first launch -if (! -f $network::pxe::pxelinux_client_root . "/drakwizard_pxe") { +if (!-f ($network::pxe::pxelinux_client_root . "/drakwizard_pxe")) { info_dialog(N("Please configure a PXE server"), N("It seems this is the first time you run this tool.\nA wizard will appear to configure your PXE server.")); launch_pxe_server(); } |