Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
sucssite
sucs-site
Commits
56268f16
Commit
56268f16
authored
Jul 02, 2019
by
Imran Hussain
Browse files
make the pull script do errors better
parent
503dc539
Pipeline
#581
passed with stage
in 3 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
htdocs/pull.php
View file @
56268f16
<?php
exec
(
"cd ..; git reset --hard HEAD; git pull"
);
exec
(
"cd ..; git reset --hard HEAD; git pull"
,
$retArr
,
$retVal
);
if
(
$retVal
==
0
)
{
print
(
ok
);
exit
(
0
)
}
print
(
"not ok
\n
"
);
var_dump
(
$retArr
);
var_dump
(
$retVal
);
?>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment