summaryrefslogtreecommitdiff
path: root/src/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shell.c')
-rw-r--r--src/shell.c2
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 ) );
}