-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rebuild: Fix logic for container-only handling
Right now `ex rebuild` only works in an (ostree) container and trying to run it on an ostree host system, despite all the checking in that function just segfaults. And the reason here is very illuminating: We were passing `NULL` for the out parameter for the DBus client. Let's use that to instead be the signal that a command is current container *only*. But, this is really a perfect example of where Rust would have entirely prevented this problem.
- Loading branch information
Showing
3 changed files
with
15 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters