File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 76
76
S1 : AsRef < OsStr > ,
77
77
S2 : AsRef < OsStr > ,
78
78
{
79
+ log:: debug!( "distrod-exec: exec_command" ) ;
79
80
let cred = get_real_credential ( ) . with_context ( || "Failed to get the real credential." ) ?;
80
81
cred. drop_privilege ( ) ;
81
82
@@ -100,6 +101,7 @@ where
100
101
S1 : AsRef < OsStr > ,
101
102
S2 : AsRef < OsStr > ,
102
103
{
104
+ log:: debug!( "distrod-exec: exec_command_in_distro" ) ;
103
105
let inner = || -> Result < ( ) > {
104
106
let cred = get_real_credential ( ) . with_context ( || "Failed to get the real credential." ) ?;
105
107
Original file line number Diff line number Diff line change @@ -140,6 +140,7 @@ fn is_executed_as_alias() -> bool {
140
140
}
141
141
142
142
fn run_as_command_alias ( ) -> Result < ( ) > {
143
+ log:: debug!( "running as command alias" ) ;
143
144
if !is_executed_as_alias ( ) {
144
145
bail ! ( "Distrod is not run as an alias, but `run_as_command_alias` is called." ) ;
145
146
}
You can’t perform that action at this time.
0 commit comments