projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
866b97d
)
Don't try to print information about a service that doesn't exist.
author
Eric Kohl
<eric.kohl@reactos.org>
Sun, 24 Aug 2008 18:30:59 +0000
(18:30 +0000)
committer
Eric Kohl
<eric.kohl@reactos.org>
Sun, 24 Aug 2008 18:30:59 +0000
(18:30 +0000)
svn path=/trunk/; revision=35606
reactos/base/applications/sc/query.c
patch
|
blob
|
history
diff --git
a/reactos/base/applications/sc/query.c
b/reactos/base/applications/sc/query.c
index
128c587
..
e15573b
100644
(file)
--- a/
reactos/base/applications/sc/query.c
+++ b/
reactos/base/applications/sc/query.c
@@
-227,17
+227,11
@@
Query(LPCTSTR *ServiceArgs,
LPCTSTR ServiceName = *ServiceArgs;
pStatus = QueryService(ServiceName);
- if (
bExtended
)
+ if (
pStatus
)
{
PrintService(ServiceName,
pStatus,
- TRUE);
- }
- else
- {
- PrintService(ServiceName,
- pStatus,
- FALSE);
+ bExtended);
}
}