diff options
Diffstat (limited to 'sinksh/syntax_modules/sink_stat.cpp')
-rw-r--r-- | sinksh/syntax_modules/sink_stat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sinksh/syntax_modules/sink_stat.cpp b/sinksh/syntax_modules/sink_stat.cpp index 926c744..f263bbc 100644 --- a/sinksh/syntax_modules/sink_stat.cpp +++ b/sinksh/syntax_modules/sink_stat.cpp | |||
@@ -77,7 +77,7 @@ bool statAllResources(State &state) | |||
77 | { | 77 | { |
78 | Sink::Query query; | 78 | Sink::Query query; |
79 | for (const auto &r : SinkshUtils::getStore("resource").read(query)) { | 79 | for (const auto &r : SinkshUtils::getStore("resource").read(query)) { |
80 | statResource(r.identifier(), state); | 80 | statResource(SinkshUtils::parseUid(r.identifier()), state); |
81 | } | 81 | } |
82 | return false; | 82 | return false; |
83 | } | 83 | } |
@@ -89,7 +89,7 @@ bool stat(const QStringList &args, State &state) | |||
89 | } | 89 | } |
90 | 90 | ||
91 | for (const auto &r : args) { | 91 | for (const auto &r : args) { |
92 | statResource(r, state); | 92 | statResource(SinkshUtils::parseUid(r.toUtf8()), state); |
93 | } | 93 | } |
94 | return false; | 94 | return false; |
95 | } | 95 | } |