mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 02:36:37 +08:00
A little more FTP daemon cleanup
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4374 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -271,7 +271,7 @@ int MAIN_NAME(int s_argc, char **s_argv)
|
|||||||
#ifdef CONFIG_NSH_BUILTIN_APPS
|
#ifdef CONFIG_NSH_BUILTIN_APPS
|
||||||
int ftpd_stop(int s_argc, char **s_argv)
|
int ftpd_stop(int s_argc, char **s_argv)
|
||||||
{
|
{
|
||||||
if (!g_ftpdglob.initialized || g_ftpdglob.running)
|
if (!g_ftpdglob.initialized || !g_ftpdglob.running)
|
||||||
{
|
{
|
||||||
printf("The FTP daemon not running\n");
|
printf("The FTP daemon not running\n");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
|
|||||||
+125
-109
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user