summaryrefslogtreecommitdiffstats
path: root/mdkonline
diff options
context:
space:
mode:
authorDaouda Lo <daouda@mandriva.com>2005-09-20 16:45:41 +0000
committerDaouda Lo <daouda@mandriva.com>2005-09-20 16:45:41 +0000
commiteefae1c6a24b2d267b4d4c367024602acd637b34 (patch)
tree72bea6198374450072f9c7a6d48cca256d672f9e /mdkonline
parent760eebc688fbdf2605a9c594fbb012d3c24dab83 (diff)
downloadmgaonline-eefae1c6a24b2d267b4d4c367024602acd637b34.tar
mgaonline-eefae1c6a24b2d267b4d4c367024602acd637b34.tar.gz
mgaonline-eefae1c6a24b2d267b4d4c367024602acd637b34.tar.bz2
mgaonline-eefae1c6a24b2d267b4d4c367024602acd637b34.tar.xz
mgaonline-eefae1c6a24b2d267b4d4c367024602acd637b34.zip
- when authenticating via command line, pass 'authenticate' string to mdkonline
Diffstat (limited to 'mdkonline')
-rwxr-xr-xmdkonline4
1 files changed, 2 insertions, 2 deletions
diff --git a/mdkonline b/mdkonline
index 1d659690..a3a6f404 100755
--- a/mdkonline
+++ b/mdkonline
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!/usr/bin/perl -w
################################################################################
# Mandriva Online Text User Interface #
# #
@@ -214,7 +214,7 @@ $wiz = {
};
if (!$ia && $login && $password && $boxname) {
- $is_success = mdkonline::create_authenticate_account($login, $password);
+ $is_success = mdkonline::create_authenticate_account('authenticate', $login, $password);
if ($is_success eq 'OK') {
($sendconfres, $key) = send_conf($login, $password, $boxname);
if ($sendconfres eq 'TRUE' && $key) {