diff options
Diffstat (limited to 'src/shell.c')
-rw-r--r-- | src/shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell.c b/src/shell.c index c5b8332..af5d649 100644 --- a/src/shell.c +++ b/src/shell.c @@ -156,6 +156,6 @@ int com_poweroff( char *arg ) if( !arg ) arg = ""; - sprintf( syscom, "poweroff %s", arg ); + sprintf( syscom, "/sbin/poweroff %s", arg ); return( system( syscom ) ); } |