Skip to content

Commit

Permalink
implement ElektraInitiative#2561 for kdb sget
Browse files Browse the repository at this point in the history
  • Loading branch information
dev2718 committed Sep 4, 2021
1 parent 1483891 commit faf156f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tools/kdb/sget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ int ShellGetCommand::execute (Cmdline const & cl)
kdb::KDB kdb;
KeySet conf;
Key x = cl.createKey (0);
Key parentKey = cl.getParentKey (x);

kdb.get (conf, x);
kdb.get (conf, parentKey);
Key k = conf.lookup (x);

if (!k)
Expand Down

0 comments on commit faf156f

Please sign in to comment.